# Utility Commands
Source: https://docs.chain.link/cre/reference/cli/utilities
Last Updated: 2026-04-10

> For the complete documentation index, see [llms.txt](/llms.txt).

export const CRE_CLI_VERSION = VERSIONS["cre-cli"].LATEST

Utility commands provide helpful information and troubleshooting capabilities.

> **NOTE: Global flags**
>
> All `cre` commands support [global flags](/cre/reference/cli#global-flags) like `--env`, `--target`, `--project-root`, and `--verbose`.

## `cre update`

Updates the CRE CLI to the latest version. This command automatically downloads and installs the newest release, making it easy to stay up to date.

**Usage:**

```bash
cre update
```

**Behavior:**

- Checks for the latest available version on <a href="https://github.com/smartcontractkit/cre-cli" target="_blank" rel="noopener noreferrer">GitHub</a>
- Compares it with your currently installed version
- Automatically downloads and installs the update if a newer version is available
- Downloads the appropriate binary for your operating system and architecture
- Replaces the existing CLI binary with the new version

> **TIP: Automatic version checks**
>
> The CLI automatically checks if your version is outdated when you run certain commands. If a newer version is available, you'll see a warning message encouraging you to run `cre update`.

> **NOTE: Updating existing projects**
>
> Running `cre update` updates the CLI itself. For existing projects, you may also need to update your SDK dependency to access new features. See [Updating Dependencies](/cre/reference/project-configuration#updating-dependencies) for instructions.

## `cre version`

Prints the current version of the CRE CLI.

**Usage:**

```bash
cre version
```

**Example output:**

```bash
CRE CLI version {CRE_CLI_VERSION}
```

> **NOTE: Version compatibility**
>
> Always check that your CLI version matches the version recommended in the documentation. The current recommended version is **{CRE_CLI_VERSION}**. See the [CLI Installation guide](/cre/getting-started/cli-installation) for more information.

## Learn more

- [CLI Installation](/cre/getting-started/cli-installation) — How to install and update the CRE CLI
- [CLI Reference](/cre/reference/cli) — Complete CLI command reference