mirror of
https://github.com/hanzoai/next.js.git
synced 2026-10-30 14:46:38 +00:00
Closes: https://linear.app/vercel/issue/DOC-4539/version-upgrade-guides Redirects: https://github.com/vercel/front/pull/44175 Move version upgrade guides under `Guides`. Also creates a guides section under the Pages docs.
28 lines
595 B
Plaintext
28 lines
595 B
Plaintext
---
|
|
title: How to upgrade to version 10
|
|
nav_title: Version 10
|
|
description: Upgrade your Next.js Application from Version 9 to Version 10.
|
|
---
|
|
|
|
There were no breaking changes between versions 9 and 10.
|
|
|
|
To upgrade to version 10, run the following command:
|
|
|
|
```bash filename="Terminal"
|
|
npm i next@10
|
|
```
|
|
|
|
```bash filename="Terminal"
|
|
yarn add next@10
|
|
```
|
|
|
|
```bash filename="Terminal"
|
|
pnpm up next@10
|
|
```
|
|
|
|
```bash filename="Terminal"
|
|
bun add next@10
|
|
```
|
|
|
|
> **Good to know:** If you are using TypeScript, ensure you also upgrade `@types/react` and `@types/react-dom` to their corresponding versions.
|