create-thulite
v1.8.5
Published
Official CLI for scaffolding a new Thulite project.
Readme
create-thulite
Official CLI for scaffolding a new Thulite project.
Status
Requirements
- Node.js —
v20.19.0or higher
Usage
npm
npm create thulite@latestYarn
yarn create thulitepnpm
pnpm create thulitebun
bun create thuliteThen follow the prompts!
Options
You can also directly specify the project name and the template you want to use via additional command line options. For example, to scaffold a Thulite + Doks project, run:
npm
npm create thulite@latest my-project -- --template doksYarn
yarn create thulite my-project --template dokspnpm
pnpm create thulite my-project --template doksbun
bun create thulite my-project --template doksProject name
You can use . for the project name to scaffold in the current directory.
Templates
Templates with recommended integrations (SEO and Images):
doksbolttailwindcss-recbootstrap-recbasic-rec
Templates without recommended integrations:
tailwindcssbootstrapbasic
Help
You can view all available options and templates using the help command:
npm
npx create-thulite@latest --helpYarn
yarn create thulite --helppnpm
pnpm create thulite --helpbun
bun create thulite --helpTroubleshooting
Windows Permission Errors with Yarn
If you encounter EPERM: operation not permitted errors when using Yarn on Windows, try one of these solutions:
Run as Administrator: Right-click PowerShell and select "Run as Administrator"
Use npm instead:
npm create thulite@latest my-project -- --template doksFix .yarnrc permissions:
$yarnrcPath = "$env:USERPROFILE\.yarnrc" if (Test-Path $yarnrcPath) { icacls $yarnrcPath /grant "$env:USERNAME:(F)" }Delete problematic .yarnrc (if safe to do so):
Remove-Item "$env:USERPROFILE\.yarnrc" -Force
Credits
This npm package is based on:
