Crust is a TypeScript CLI framework for humans and agents. Define a command once with full type inference, and it runs as a CLI, packages as an agent skill, and can be exposed over MCP. Composable modules add prompts, progress, TUI, styling, persistence, man pages, and testing helpers as you need them. It runs on Bun, Node.js, and Deno, with native Bun integrations.
Who uses Crust?
- gyst
- Nia by Nozomio Labs
Getting Started
Bun
bun create crust@latest my-cli
cd my-cli
bun run dev
npm
npm create crust@latest my-cli
cd my-cli
npm run dev
pnpm
pnpm create crust@latest my-cli
cd my-cli
pnpm run dev
Yarn (2+)
yarn dlx create-crust@latest my-cli
cd my-cli
yarn run dev
Deno
deno run -A npm:create-crust@latest my-cli --runtime deno
cd my-cli
deno task dev