mirror of
https://github.com/nuxt/nuxt.git
synced 2024-12-05 03:47:12 +00:00
20 lines
545 B
Markdown
20 lines
545 B
Markdown
---
|
|
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 [--force|-f]
|
|
```
|
|
|
|
The `upgrade` command upgrades Nuxt to the latest version.
|
|
|
|
Option | Default | Description
|
|
-------------------------|-----------------|------------------
|
|
`--force, -f` | `false` | Removes `node_modules` and lock files before upgrade.
|