Next.js Discord

Discord Forum

How install specific version of NextJS?

Unanswered
Golden northern bumble bee posted this in #help-forum
Open in Discord
Golden northern bumble beeOP
How to install Next 13 with npx create-next-app?
Because currently it's installing Next 14

23 Replies

Golden northern bumble beeOP
I cannot see anything about version picking here
Cape horse mackerel
npx create-next-app@versionYouWant
e.g.
npx create-next-app@v14.0.4-canary.11
Golden northern bumble beeOP
@Cape horse mackerel npx create-next-app@12.3.4 installed next 14
Cape horse mackerel
that version is not available as I can see
Golden northern bumble beeOP
weird, it didn't signal an error
Cape horse mackerel
there is no such version 12.3.4
latest 12.x version is 12.3.2
Golden northern bumble beeOP
Cape horse mackerel
just a sec
Golden northern bumble beeOP
See, no even a warning
but ok, that's an npx issue then
No, I see 12.3.4 version there
Cape horse mackerel
just a sec to test
Golden northern bumble beeOP
sure, take your time, thanks
I think you should create it "manually"
and not use the create-next-app
the issue is that iirc create-next-app adds latest next.js version to package.json instead of its own
but can i ask whats wrong with v14? as basically nothing was changed that should be an issue
White-winged Scoter
@Cape horse mackerel You can just run
npx create-next-app
then choose the appropriate options for the verison like src/pages not app router, then do
npm uni next
then
npm i next@whateverversion
granted some issues may arise, but they shouldn't be too probelmatic, nothing even a beginner can't fix.