blitz new

Generates a new Blitz project in the current directory. The project will include basic scaffolding for a landing page, a database, and all of the other configuration that makes Blitz's magic work.

blitz new [name]
ArgumentRequiredDescription
nameYesThe project name. Will be used in initial project scaffolding

Options

ArgumentShorthandDescriptionDefault
--npmUses npm as the project's package manager. If omitted, the project will default to yarn if it is installed.false
--dry-run-dDisplays what files would be generated but does not write the files to disk.false

Examples

blitz new task-manager
blitz new task-manager --npm
Idea for improving this page?Edit it on Github