6 Replies
Hi @nvme. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:
----------------------
To start a Nuxt 3 (v3) project, follow these steps:
1. Create a new Nuxt project
Open your terminal and run: Replace
3. Install dependencies
If you didn't install dependencies during setup, run: 4. Start the development server
This will start your Nuxt 3 app at <http://localhost:3000 by default. For more details, see the official Nuxt documentation: Nuxt Installation Guide ---------------------- Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: ----------------------
Open your terminal and run: Replace
<project-name>
with your desired directory name. You can also use yarn
, pnpm
, or bun
as alternatives:
2. Navigate to your project directory3. Install dependencies
If you didn't install dependencies during setup, run: 4. Start the development server
This will start your Nuxt 3 app at <http://localhost:3000 by default. For more details, see the official Nuxt documentation: Nuxt Installation Guide ---------------------- Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: ----------------------
<@1265695120725119036> Kapa.ai is still learning and improving, please let me know how I did by reacting below.
that gives me v4
that gives me v4
@kapa.ai that gives me v4
Let me check the knowledge base for you again. One moment! :books:
----------------------
You're correct—using the standard create command (e.g., npm create nuxt@latest) will currently give you the latest Nuxt version, which is tracking v4 in the nightly and main release channels. If you specifically want to start a Nuxt v3 project, you should use the 3.x version tag when installing Nuxt.
Here’s how you can ensure you’re using Nuxt v3:
1. Create your project as usual:
2. After creation, update your
package.json
to use Nuxt v3:
Or, if you want to use the latest 3.x nightly (not v4), set:
Then, remove your lockfile (package-lock.json
, yarn.lock
, etc.) and reinstall dependencies.
3. Install dependencies:
4. Start the development server:
This will ensure your project uses Nuxt v3 and not v4. For more details, see the official guidance on the nightly release channel and versioning and Nuxt upgrade guide.
The nightly release channel latest tag is currently tracking the Nuxt v4 branch... You can opt in to the 3.x branch nightly releases with "nuxt": "npm:nuxt-nightly@3x"If you want a stable v3, use the latest 3.x release tag as shown above. ---------------------- Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: ----------------------
— Nightly Release Channel
<@1265695120725119036> Kapa.ai is still learning and improving, please let me know how I did by reacting below.
Use the -- -t v3 if you're using npm ! For bun -t v3