2021-10-11 12:57:54 +00:00
# Installation
2021-10-11 16:37:38 +00:00
Getting started with Nuxt 3 is straightforward.
2021-10-11 12:57:54 +00:00
2021-10-11 16:37:38 +00:00
::alert
2021-10-11 21:49:54 +00:00
If you want to migrate an existing Nuxt 2 project, skip this and follow the [Bridge instructions ](/getting-started/bridge ) instead.< br >
2021-10-11 16:37:38 +00:00
Learn more in [Introduction ](/getting-started/introduction ).
::
2021-10-11 12:57:54 +00:00
2021-10-11 16:37:38 +00:00
## New project
2021-10-11 12:57:54 +00:00
2021-10-11 16:37:38 +00:00
Open a terminal, or from [Visual Studio Code ](https://code.visualstudio.com/ ), open an [integrated terminal ](https://code.visualstudio.com/docs/editor/integrated-terminal ) and use the following command to create a new starter project:
2021-10-11 12:57:54 +00:00
```bash
2021-10-11 16:37:38 +00:00
npx nuxi init nuxt3-app
2021-10-11 12:57:54 +00:00
```
2021-10-11 16:37:38 +00:00
Open `nuxt3-app` folder in visual studio code:
2021-10-11 12:57:54 +00:00
```bash
2021-10-11 16:37:38 +00:00
code -r nuxt3-app
2021-10-11 12:57:54 +00:00
```
2021-10-11 16:37:38 +00:00
Install the dependencies:
2021-10-11 12:57:54 +00:00
2021-10-11 16:37:38 +00:00
::code-group
```bash [Yarn]
2021-10-11 12:57:54 +00:00
yarn install
```
2021-10-11 16:37:38 +00:00
```bash [NPM]
npm install
```
::
2021-10-11 12:57:54 +00:00
2021-10-11 16:37:38 +00:00
## Development Server
2021-10-11 12:57:54 +00:00
2021-10-11 21:49:54 +00:00
Now you'll be able to use `yarn dev` to start your nuxt app in development mode:
2021-10-11 12:57:54 +00:00
2021-10-11 16:37:38 +00:00
::code-group
```bash [Yarn]
2021-10-11 12:57:54 +00:00
yarn dev -o
```
2021-10-11 16:37:38 +00:00
```bash [NPM]
npm run dev -- -o
```
::
2021-10-11 12:57:54 +00:00
2021-10-11 16:37:38 +00:00
::alert{type=success icon=✨ .font-bold}
2021-10-11 21:49:54 +00:00
Well done! A browser window should automatically open for http://localhost:3000
2021-10-11 16:37:38 +00:00
::
2021-10-11 12:57:54 +00:00
2021-10-11 16:37:38 +00:00
## Next steps
2021-10-11 12:57:54 +00:00
2021-10-11 21:49:54 +00:00
Now that you've created your Nuxt 3 project, you are ready to start building your application.
2021-10-11 12:57:54 +00:00
- Learn about the [Concepts ](/concepts )
2021-10-11 16:37:38 +00:00
- Learn more about the [Usage ](/docs )