--- title: "nuxi upgrade" description: The upgrade command upgrades Nuxt to the latest version. links: - label: Source icon: i-simple-icons-github to: https://github.com/nuxt/cli/blob/main/src/commands/upgrade.ts size: xs --- ```bash [Terminal] npx nuxi upgrade [ROOTDIR] [--cwd=] [--logLevel=] [-f, --force] [-ch, --channel=] ``` The `upgrade` command upgrades Nuxt to the latest version. ## Arguments Argument | Description --- | --- `ROOTDIR="."` | Specifies the working directory (default: `.`) ## Options Option | Default | Description --- | --- | --- `--cwd=` | | Specify the working directory, this takes precedence over ROOTDIR (default: `.`) `--logLevel=` | | Specify build-time log level `-f, --force` | | Force upgrade to recreate lockfile and node_modules `-ch, --channel=` | `stable` | Specify a channel to install from (default: stable)