Upgrade
Learn how to upgrade your Next.js application to the latest version.
Latest version
To update to the latest version of Next.js, you can use the upgrade
codemod:
If you prefer to upgrade manually, install the latest Next.js and React versions:
Canary version
To update to the latest canary, make sure you're on the latest version of Next.js and everything is working as expected. Then, run the following command: