DocsAPICommands

nuxi upgrade

The upgrade command upgrades Nuxt 3 to the latest version.

Terminal
npx nuxi upgrade [--force|-f]

The upgrade command upgrades Nuxt 3 to the latest version.

OptionDefaultDescription
--force, -ffalseRemoves node_modules and lock files before upgrade.