A TypeScript-first, Bun-native CLI framework with composable modules for building type-safe command-line interfaces.
At a Glance
Pricing
Fully open-source CLI framework available under the MIT license at no cost.
Engagement
Available On
Developer
Listed Mar 2026
About Crust
Crust is a TypeScript-first, Bun-native CLI framework designed to sit between minimal arg parsers and heavyweight frameworks. It provides a chainable builder API with full TypeScript inference, zero runtime dependencies, and a composable module ecosystem so you only pull in what you need. Currently in alpha, Crust targets the Bun runtime from the ground up with no Node compatibility layers or legacy baggage.
- Type-Safe Builder API — Immutable, chainable builder pattern with full TypeScript inference; args and flags are inferred from your definitions with no manual type annotations.
- Zero Runtime Dependencies — Core modules ship with no external dependencies, keeping your CLI lean and fast.
- Composable Modules — Every capability ships as its own package (
@crustjs/core,@crustjs/plugins,@crustjs/validate,@crustjs/prompts, etc.); install only what you need. - Plugin System — Middleware-based architecture with lifecycle hooks lets you extend CLI behavior cleanly.
- Subcommand Routing — Nested command trees with automatic resolution and flag inheritance across subcommands via
inherit: true. - Compile-Time Validation — Catches flag alias collisions and variadic arg mistakes before your code runs.
- Bun Native — Built specifically for the Bun runtime; get started instantly with
bun create crust my-cli. - Agent Skills Generation —
@crustjs/skillsmodule enables agent skills generation for AI-powered CLI workflows. - Interactive Prompts & Terminal Styling —
@crustjs/promptsand@crustjs/stylemodules provide rich interactive input and terminal output styling. - Type-Safe Config Persistence —
@crustjs/storeprovides schema-driven config storage for your CLI tools.
Community Discussions
Be the first to start a conversation about Crust
Share your experience with Crust, ask questions, or help others learn from your insights.
Pricing
Open Source
Fully open-source CLI framework available under the MIT license at no cost.
- Full access to all @crustjs modules
- TypeScript-first builder API
- Zero runtime dependencies
- Plugin system
- Subcommand routing
Capabilities
Key Features
- TypeScript-first with full type inference
- Zero runtime dependencies
- Chainable builder API
- Composable module ecosystem
- Middleware-based plugin system
- Subcommand routing with flag inheritance
- Compile-time validation
- Bun-native runtime
- Interactive prompts
- Terminal styling
- Schema-first validation adapters
- Type-safe config persistence
- Agent skills generation
- CLI build tooling
- Scaffolding library
