diff --git a/docs/upgrading.md b/docs/upgrading.md index 7bddae8b3dbf..e5eaff83c0dc 100644 --- a/docs/upgrading.md +++ b/docs/upgrading.md @@ -11,7 +11,7 @@ To update to Next.js version 13, run the following command using your preferred ```bash npm i next@latest react@latest react-dom@latest eslint-config-next@latest # or -yarn upgrade next react react-dom eslint-config-next --latest +yarn add next@latest react@latest react-dom@latest eslint-config-next@latest # or pnpm up next react react-dom eslint-config-next --latest ```