Back to Next Js

How to upgrade to version 10

docs/02-pages/02-guides/upgrading/version-10.mdx

16.2.5451 B
Original Source

There were no breaking changes between versions 9 and 10.

To upgrade to version 10, run the following command:

bash
npm i next@10
bash
yarn add next@10
bash
pnpm up next@10
bash
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.