8000 docs: update to use `create nuxt` command · nuxt/nuxt@fe82af4 · GitHub
[go: up one dir, main page]

Skip to content

Commit fe82af4

Browse files
committed
docs: update to use create nuxt command
1 parent bc101e4 commit fe82af4

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ It provides a number of features that make it easy to build fast, SEO-friendly,
4343
Use the following command to create a new starter project. This will create a starter project with all the necessary files and dependencies:
4444

4545
```bash
46-
npx nuxi@latest init <my-project>
46+
npm create nuxt <my-project>
4747
```
4848

4949
> [!TIP]

docs/1.getting-started/2.installation.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -38,19 +38,19 @@ Open a terminal (if you're using [Visual Studio Code](https://code.visualstudio.
3838
::package-managers
3939

4040
```bash [npm]
41-
npx nuxi@latest init <project-name>
41+
npm create nuxt <project-name>
4242
```
4343

4444
```bash [yarn]
45-
yarn dlx nuxi@latest init <project-name>
45+
yarn create nuxt <project-name>
4646
```
4747

4848
```bash [pnpm]
49-
pnpm dlx nuxi@latest init <project-name>
49+
pnpm create nuxt <project-name>
5050
```
5151

5252
```bash [bun]
53-
bun x nuxi@latest init <project-name>
53+
bun create nuxt <project-name>
5454
```
5555

5656
::

docs/2.guide/3.going-further/3.modules.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -16,19 +16,19 @@ We recommend you get started with Nuxt Modules using our [starter template](http
1616
::package-managers
1717

1818
```bash [npm]
19-
npx nuxi init -t module my-module
19+
npm create nuxt -t module my-module
2020
```
2121

2222
```bash [yarn]
23-
yarn dlx nuxi init -t module my-module
23+
yarn create nuxt -t module my-module
2424
```
2525

2626
```bash [pnpm]
27-
pnpm dlx nuxi init -t module my-module
27+
pnpm create nuxt -t module my-module
2828
```
2929

3030
```bash [bun]
31-
bun x nuxi init -t module my-module
31+
bun create nuxt -t module my-module
3232
```
3333
::
3434

docs/2.guide/3.going-further/7.layers.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ Additionally, certain other files in the layer directory will be auto-scanned an
7070
To get started you can initialize a layer with the [nuxt/starter/layer template](https://github.com/nuxt/starter/tree/layer). This will create a basic structure you can build upon. Execute this command within the terminal to get started:
7171

7272
```bash [Terminal]
73-
npx nuxi init --template layer nuxt-layer
73+
npm create nuxt --template layer nuxt-layer
7474
```
7575

7676
Follow up on the README instructions for the next steps.

0 commit comments

Comments
 (0)
0