A Bun-based CLI that scaffolds a new Bun TypeScript project.
Scaffold files are cloned from https://github.com/rayhanadev/fresh.
The CLI requires git to be installed and available on your PATH.
The default template includes effect, vitest, oxlint, and oxfmt setup.
It also includes Factory Oxlint plugin rules directly in .oxlintrc.json.
It includes @rayhanadev/env with a starter src/env.ts configuration.
Install dependencies and link the command:
bun install
bun linkNow new is available in your shell.
Create into a new directory:
new my-appCreate into a specific path:
new --path ./apps/my-appCreate into current directory (must be empty):
newOptions:
-f,--forceoverwrite a non-empty target directory-p,--pathtarget directory path--no-installscaffold without runningbun install-h,--helpshow help-v,--versionshow CLI version