Official CLI for scaffolding a new Hyas project.
- Node.js —
v16.12.0
or higher
npm create hyas@latest
yarn create hyas
pnpm create hyas@latest
Then follow the prompts!
You can also directly specify the project name and the template you want to use via additional command line options. Use .
for the project name to scaffold in the current directory. For example, to scaffold a Doks project, run:
npm create hyas@latest my-doks-project -- --template doks
yarn create hyas my-doks-project --template doks
pnpm create hyas@latest my-doks-project --template doks
Currently supported template presets include:
doks
bolt
tailwindcss-starter
tailwindcss-starter-rec
bootstrap-starter
bootstrap-starter-rec
basic-starter
basic-starter-rec
The -rec
variants include the recommended integrations, currently:
You can use a tool like degit to scaffold your project with one of the community templates.
npx degit user/repo my-project
yarn dlx degit user/repo my-project
pnpm dlx degit user/repo my-project
This npm package is based on: