Learn Nuxt with a Collection of 100+ Tips!

nuxi upgrade

The upgrade command upgrades Nuxt to the latest version.
Terminal
npx nuxi upgrade [ROOTDIR] [--cwd=<directory>] [--logLevel=<silent|info|verbose>] [-f, --force] [-ch, --channel=<stable|nightly>]

The upgrade command upgrades Nuxt to the latest version.

Arguments

ArgumentDescription
ROOTDIR="."Specifies the working directory (default: .)

Options

OptionDefaultDescription
--cwd=<directory>Specify the working directory, this takes precedence over ROOTDIR (default: .)
--logLevel=<silent|info|verbose>Specify build-time log level
-f, --forceForce upgrade to recreate lockfile and node_modules
-ch, --channel=<stable|nightly>stableSpecify a channel to install from (default: stable)