Nuxt/docs/content/3.api/5.commands/init.md
Yaël Guilloux dc47c64f14
docs: use nuxt 3 and website theme (#5479)
Co-authored-by: Daniel Roe <daniel@roe.dev>
Co-authored-by: Sébastien Chopin <seb@nuxtjs.com>
Co-authored-by: Pooya Parsa <pooya@pi0.io>
Co-authored-by: pooya parsa <pyapar@gmail.com>
Co-authored-by: Clément Ollivier <clement.o2p@gmail.com>
2022-10-06 11:15:30 +02:00

1.1 KiB

title description
nuxi init The init command initializes a fresh Nuxt project.

nuxi init

npx nuxi init|create [--verbose|-v] [--template,-t] [dir]

The init command initializes a fresh Nuxt project using unjs/giget.

Options

Option Default Description
--template, -t v3 Specify template name or git repository to use as a template. Format is gh:org/name to use a custom github template.
--force false Force clone to any existing directory.
--offline false Do not attempt to download from github and only use local cache.
--prefer-offline false Try local cache first to download templates.
--shell false Open shell in cloned directory (experimental).

Environment variables