nuxi init

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

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

Options

OptionDefaultDescription
--template, -tv3Specify template name or git repository to use as a template. Format is gh:org/name to use a custom github template.
--forcefalseForce clone to any existing directory.
--offlinefalseDo not attempt to download from github and only use local cache.
--prefer-offlinefalseTry local cache first to download templates.
--shellfalseOpen shell in cloned directory (experimental).

Environment variables