> ## Documentation Index
> Fetch the complete documentation index at: https://namespace.so/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# devbox update

> Update the Devbox CLI.

Use `devbox update` to update the CLI to the latest release. The command downloads the release for the current operating system and architecture, verifies its SHA-256 checksum, and replaces the current executable.

If the installed version is already current, the command leaves the executable unchanged.

## Usage

```bash theme={null}
devbox update [flags]
```

## Update the CLI

```bash theme={null}
devbox update
```

## Troubleshoot an update

```bash theme={null}
devbox update --debug
```

Debug mode prints the selected download URL and expected SHA-256 checksum to standard error before downloading the release.

## Options

<ResponseField name="--debug" type="boolean">
  Print download details that can help diagnose an update failure.
</ResponseField>

## Related topics

<Columns cols={2}>
  <Card title="Devbox CLI installation" icon="download" href="/docs/reference/devbox-cli/installation">
    Install or update the CLI.
  </Card>

  <Card title="devbox version" icon="badge-info" href="/docs/reference/devbox-cli/version">
    Print the currently installed CLI version.
  </Card>
</Columns>
