title |
description |
links |
nuxi upgrade |
The upgrade command upgrades Nuxt to the latest version. |
|
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
Argument |
Description |
ROOTDIR="." |
Specifies the working directory (default: . ) |
Options
Option |
Default |
Description |
--cwd=<directory> |
|
Specify the working directory, this takes precedence over ROOTDIR (default: . ) |
--logLevel=<silent|info|verbose> |
|
Specify build-time log level |
-f, --force |
|
Force upgrade to recreate lockfile and node_modules |
-ch, --channel=<stable|nightly> |
stable |
Specify a channel to install from (default: stable) |