Nuxt/docs/3.api/5.commands/upgrade.md
Sébastien Chopin 3ec108493d
docs: simplify the docs directory (#18506)
* docs: simplify docs to only markdown

* Create nuxt-config.md

* chore: update

* chore: add readme
2023-01-25 10:41:41 +01:00

17 lines
418 B
Markdown

---
title: "nuxi upgrade"
description: The upgrade command upgrades Nuxt 3 to the latest version.
---
# `nuxi upgrade`
```{bash}
npx nuxi upgrade [--force|-f]
```
The `upgrade` command upgrades Nuxt 3 to the latest version.
Option | Default | Description
-------------------------|-----------------|------------------
`--force, -f` | `false` | Removes `node_modules` and lock files before upgrade.