2022-10-06 09:15:30 +00:00
|
|
|
---
|
|
|
|
title: "nuxi upgrade"
|
2024-06-30 10:11:16 +00:00
|
|
|
description: The upgrade command upgrades Nuxt to the latest version.
|
2023-10-18 10:59:43 +00:00
|
|
|
links:
|
|
|
|
- label: Source
|
|
|
|
icon: i-simple-icons-github
|
|
|
|
to: https://github.com/nuxt/cli/blob/main/src/commands/upgrade.ts
|
|
|
|
size: xs
|
2022-10-06 09:15:30 +00:00
|
|
|
---
|
|
|
|
|
2023-10-18 10:59:43 +00:00
|
|
|
```bash [Terminal]
|
2022-04-06 05:56:08 +00:00
|
|
|
npx nuxi upgrade [--force|-f]
|
|
|
|
```
|
|
|
|
|
2024-06-30 10:11:16 +00:00
|
|
|
The `upgrade` command upgrades Nuxt to the latest version.
|
2022-04-06 05:56:08 +00:00
|
|
|
|
|
|
|
Option | Default | Description
|
|
|
|
-------------------------|-----------------|------------------
|
|
|
|
`--force, -f` | `false` | Removes `node_modules` and lock files before upgrade.
|