- CLAUDE.md 운영 규칙 - wiki/ 정리된 지식 페이지 (Nuxt + Claude Code) - raw/ 원본 자료 - reference/ Nuxt 4.x 공식 문서 Co-authored-by: Cursor <cursoragent@cursor.com>
2.7 KiB
2.7 KiB
title, description, links
| title | description | links | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| create nuxt | The init command initializes a fresh Nuxt project. |
|
npm create nuxt@latest [DIR] [--cwd=<directory>] [--logLevel=<silent|info|verbose>] [-t, --template] [-f, --force] [--offline] [--preferOffline] [--no-install] [--gitInit] [--shell] [--packageManager] [-M, --modules] [--no-modules] [--nightly]
The create-nuxt command initializes a fresh Nuxt project using unjs/giget.
Arguments
| Argument | Description |
|---|---|
DIR="" |
Project directory |
Options
| Option | Default | Description |
|---|---|---|
--cwd=<directory> |
. |
Specify the working directory |
--logLevel=<silent|info|verbose> |
Specify build-time log level | |
-t, --template |
Template name | |
-f, --force |
Override existing directory | |
--offline |
Force offline mode | |
--preferOffline |
Prefer offline mode | |
--no-install |
Skip installing dependencies | |
--gitInit |
Initialize git repository | |
--shell |
Start shell after installation in project directory | |
--packageManager |
Package manager choice (npm, pnpm, yarn, bun) | |
-M, --modules |
Nuxt modules to install (comma separated without spaces) | |
--no-modules |
Skip module installation prompt | |
--nightly |
Use Nuxt nightly release channel (3x or latest) |
Environment variables
NUXI_INIT_REGISTRY: Set to a custom template registry. (learn more).- Default registry is loaded from nuxt/starter/templates