How to upgrade to version 10
Source URL: https://nextjs.org/docs/pages/guides/upgrading/version-10
How to upgrade to version 10
Section titled “How to upgrade to version 10”There were no breaking changes between versions 9 and 10.
To upgrade to version 10, run the following command:
npm i next@10yarn add next@10pnpm up next@10bun add next@10Good to know: If you are using TypeScript, ensure you also upgrade
@types/reactand@types/react-domto their corresponding versions.