Usage
$ vlt create <initializer> [args...]Initialize a new project from a template package.
Description
The vlt create command works like npm create and bun create,
automatically prepending “create-” to the package name and executing
it.
For example, running:
$ vlt create react-app my-appWill fetch and execute the create-react-app package with the
arguments my-app.
If a satisfying instance of the create package exists in the local
node_modules folder, then that will be used. Otherwise, vlt will
install the package to its XDG data directory without modifying your
local dependencies.
Examples
Create a React App
$ vlt create react-app my-appThis executes create-react-app my-app
Create a Vite Project
$ vlt create vite my-projectThis executes create-vite my-project
Use a Scoped Template
$ vlt create @scope/template my-appThis executes @scope/create-template my-app
Options
--allow-scripts <query>
Filter which packages are allowed to run lifecycle scripts using DSS query syntax.
$ vlt create vite my-app --allow-scripts='create-*'