# unikraft upgrade

Upgrade the Unikraft CLI to the latest version.

```
unikraft upgrade [flags]
```

## Options

```
  --bin-dir BIN-DIR           Directory where to install the binary. If empty, uses the current binary location.
  --channel CHANNEL           Release channel to upgrade from. (default stable)
  -f, --force                 Force upgrade even if already at latest version.
  -v, --version VERSION       Upgrade to a specific version.
```

## Options inherited from parent commands

```
  --config file               Path to the configuration file.
  --log-level level           Set the logging level. (default info)
  --log-type type             Set the log type. (default text)
  --profile name              Set the current profile.
  --telemetry                 Toggle anonymous usage analytics. (default true)
```

## See Also

* [`unikraft`](../unikraft.mdx): The Unikraft Command-Line Interface.

