@marko/create
v6.3.0
Published
Create Marko projects
Downloads
1,434
Readme
Scaffold a new Marko project into a directory. This is the library and
marko-create bin behind create-marko (npm create marko).
CLI
npm create marko
# or run this package directly
npx @marko/create my-app --template basicOptions
--name,-n: Name of the new app (also accepted as the first positional argument).--template,-t: The name of an example from marko-js/examples, or auser/repogit template.- An example name, optionally at a branch/tag/commit:
basic basic#next # example branch user/repo # a git template user/repo#v1.2.3
- An example name, optionally at a branch/tag/commit:
--dir,-d: Directory to set the project up in (defaults to the current directory).--installer,-i: Override the package manager used to install dependencies. Defaults to the one used to run the command, falling back tonpm.--yes,-y: Skip the interactive prompts and accept the defaults.
The prompts only run in an interactive terminal. Under CI, AI agents, or a piped stdin the defaults are used (or, when required input is missing and defaults aren't allowed, the command exits non-zero with guidance) instead of hanging.
This package is a CLI only; it does not expose a programmatic API.
