---
title: "upgrade - Xata"
description: "Command for upgrading the Xata CLI"
source: "https://xata.io/docs/cli/upgrade"
---

Skip to main content

The `upgrade` command helps you update the Xata CLI to the latest version.

## ​upgrade

Upgrade the Xata CLI.

```
xata upgrade [--channel <channel>] [--version <version>] [-h|--help]
```

​

\--channel

string

The channel to upgrade from (dev|next|latest, default: latest)

​

\--version

string

The specific version to upgrade to

​

-h, --help

boolean

Print help information and exit

## ​Global Flags

​

-h, --help

boolean

Print help information and exit

Was this page helpful?

[Previous](/docs/cli/stream)

[version](/docs/cli/version)

[Next](/docs/cli/version)
