---
title: "oz0 server"
description: "Run an oz0 server"
canonical_url: "https://docs.oz0.ai/reference/cli/oz0/server"
---
# oz0 server

> Run an oz0 server

For: Operators and developers looking up a command.

Run an oz0 server

## Usage

```bash
oz0 server [command]
```

## Subcommands

- [`backup`](https://docs.oz0.ai/reference/cli/oz0/server/backup)
- [`ca`](https://docs.oz0.ai/reference/cli/oz0/server/ca)
- [`dist`](https://docs.oz0.ai/reference/cli/oz0/server/dist)
- [`healthcheck`](https://docs.oz0.ai/reference/cli/oz0/server/healthcheck)
- [`init`](https://docs.oz0.ai/reference/cli/oz0/server/init)
- [`master-key`](https://docs.oz0.ai/reference/cli/oz0/server/master-key)
- [`operator`](https://docs.oz0.ai/reference/cli/oz0/server/operator)
- [`provisioner`](https://docs.oz0.ai/reference/cli/oz0/server/provisioner)
- [`restore`](https://docs.oz0.ai/reference/cli/oz0/server/restore)
- [`secrets-key`](https://docs.oz0.ai/reference/cli/oz0/server/secrets-key)
- [`start`](https://docs.oz0.ai/reference/cli/oz0/server/start)

## Inherited flags

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

<tbody>
  <tr>
    <td>
      <code>
        --context
      </code>
    </td>
    
    <td>
      string
    </td>
    
    <td>
      <code>
        $OZ0_CONTEXT or &lt;config dir>/orchestrator-zero/context.json
      </code>
    </td>
    
    <td>
      CLI context file written by server init
    </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` commands](https://docs.oz0.ai/reference/cli/oz0) and the [global flags](https://docs.oz0.ai/reference/cli/oz0#global-flags).


## Sitemap

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