Clarification on how to update NextJS 14 to latest 14 version?
Unanswered
Giant panda posted this in #help-forum
Giant pandaOP
I have a Next.js v14.2.3 project, and I want to double check the correct way for updating to latest 14 version (currently v14.2.21).
- Can I just run
- Do I have to be specific like
- Do these commands automatically update the peer dependencies or do I have to run something like
- Can I just run
npm install next@latest
, or would that take me to v15?- Do I have to be specific like
npm install next@^14
?- Do these commands automatically update the peer dependencies or do I have to run something like
npm install next@^14 react@latest react-dom@latest
, but again, would that upgrade react
and react-dom
too high, do I need to specify the exact versions?