Upgrading
Latest version
To update to the latest version of Next.js, you can use the upgrade command:
Versions before Next.js 16.1.0 do not support the upgrade command and need to use a separate package instead:
To have a coding agent perform and verify the upgrade, run:
See Upgrade with a coding agent for other policies and upgrade reminders.
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:
Features available in canary
The following features are currently available in canary:
Authentication:
Version guides
See the version guides for in-depth upgrade instructions.
Version 16
Upgrade your Next.js Application from Version 15 to 16.
Version 15
Upgrade your Next.js Application from Version 14 to 15.
Version 14
Upgrade your Next.js Application from Version 13 to 14.
Last updated