Unverified Commit cff07455 authored by Balázs Orbán's avatar Balázs Orbán Committed by GitHub

docs: update version install commands in upgrade guide (#42073)

Co-authored-by: 's avatarSteven <steven@ceriously.com>
Co-authored-by: 's avatarkodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
parent 57426a28
...@@ -9,11 +9,11 @@ description: Learn how to upgrade Next.js. ...@@ -9,11 +9,11 @@ description: Learn how to upgrade Next.js.
To update to Next.js version 13, run the following command using your preferred package manager: To update to Next.js version 13, run the following command using your preferred package manager:
```bash ```bash
npm install next react@latest react-dom@latest eslint-config-next npm i next@latest react@latest react-dom@latest eslint-config-next@latest
# or # or
yarn add next react@latest react-dom@latest eslint-config-next yarn upgrade next react react-dom eslint-config-next --latest
# or # or
pnpm update next react@latest react-dom@latest eslint-config-next pnpm up next react react-dom eslint-config-next --latest
``` ```
### v13 Summary ### v13 Summary
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment