> ## 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 and reports the installed version. Transient download failures are retried automatically.

For Homebrew installations, use Homebrew instead of `devbox update`:

```bash theme={"theme":{"light":"github-light-default","dark":"github-dark-default"}}
brew upgrade --cask namespacelabs/devbox/cli
```

`devbox update` is not available inside a Devbox, where the CLI version is managed for you.

## Usage

```bash theme={"theme":{"light":"github-light-default","dark":"github-dark-default"}}
devbox update [flags]
```

## Update the CLI

```bash theme={"theme":{"light":"github-light-default","dark":"github-dark-default"}}
devbox update
```

## Related topics

> [card] [Devbox CLI installation](https://namespace.so/docs/reference/devbox-cli/installation.md)
>
> Install or update the CLI.

> [card] [devbox version](https://namespace.so/docs/reference/devbox-cli/version.md)
>
> Print the currently installed CLI version.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.