Official CLI for scaffolding a new Thulite project.
- Node.js —
v20.19.0or higher
npm create thulite@latestyarn create thulitepnpm create thulitebun create thuliteThen follow the prompts!
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 create thulite@latest my-project -- --template doksyarn create thulite my-project --template dokspnpm create thulite my-project --template doksbun create thulite my-project --template doksYou can use . for the project name to scaffold in the current directory.
Templates with recommended integrations (SEO and Images):
doksbolttailwindcss-recbootstrap-recbasic-rec
Templates without recommended integrations:
tailwindcssbootstrapbasic
You can view all available options and templates using the help command:
npx create-thulite@latest --helpyarn create thulite --helppnpm create thulite --helpbun create thulite --helpIf 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 doks
-
Fix .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
This npm package is based on: