---
title: "oz0-node prepare"
description: "Install uv, the managed Python and the runtime bundle into the data directory, then exit."
canonical_url: "https://docs.oz0.ai/reference/cli/oz0-node/prepare"
---
# oz0-node prepare

> Install uv, the managed Python and the runtime bundle into the data directory, then exit.

For: Operators and developers looking up a command.

Install uv, the managed Python and the runtime bundle into the data directory, then exit. It does not join or reach an edge. `run` finds them installed and starts at once, as long as the data directory keeps the same path: the runtime's virtual environment refers to its Python by absolute path. The node's container image runs it when it is built.

## Usage

```bash
oz0-node prepare --runtime-bundle DIR [flags]
```

## Flags

<table>
<thead>
  <tr>
    <th>
      Flag
    </th>
    
    <th>
      Type
    </th>
    
    <th>
      Default
    </th>
    
    <th>
      Description
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <code>
        --runtime-bundle
      </code>
    </td>
    
    <td>
      string
    </td>
    
    <td>
      
    </td>
    
    <td>
      runtime bundle directory to install (required)
    </td>
  </tr>
</tbody>
</table>

## Inherited flags

<table>
<thead>
  <tr>
    <th>
      Flag
    </th>
    
    <th>
      Type
    </th>
    
    <th>
      Default
    </th>
    
    <th>
      Description
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <code>
        --data-dir
      </code>
    </td>
    
    <td>
      string
    </td>
    
    <td>
      <code>
        ~/.local/share/orchestrator-zero-node
      </code>
    </td>
    
    <td>
      where the node keeps its identity, uv, Python, runtimes and state
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        --log-level
      </code>
    </td>
    
    <td>
      string
    </td>
    
    <td>
      <code>
        info
      </code>
    </td>
    
    <td>
      log level: debug, info, warn or error
    </td>
  </tr>
</tbody>
</table>

See [all `oz0-node` commands](https://docs.oz0.ai/reference/cli/oz0-node) and the [global flags](https://docs.oz0.ai/reference/cli/oz0-node#global-flags).


## Sitemap

See the full [sitemap](https://docs.oz0.ai/sitemap.md) for all pages.
