rembrembdocs

How to upgrade to version 14

Last updated April 23, 2026

Upgrading from 13 to 14

To update to Next.js version 14, run the following command using your preferred package manager:

Terminal

npm i next@next-14 react@18 react-dom@18 && npm i eslint-config-next@next-14 -D

Terminal

yarn add next@next-14 react@18 react-dom@18 && yarn add eslint-config-next@next-14 -D

Terminal

pnpm i next@next-14 react@18 react-dom@18 && pnpm i eslint-config-next@next-14 -D

Terminal

bun add next@next-14 react@18 react-dom@18 && bun add eslint-config-next@next-14 -D

Good to know: If you are using TypeScript, ensure you also upgrade @types/react and @types/react-dom to their latest versions.

v14 Summary

Was this helpful?