Build CLIs withconfidence
Bunli is a minimal, type-safe CLI framework for Bun. Build production-ready command-line tools with advanced plugins, beautiful terminal UIs, and compile to standalone binaries.
Quick start
Get up and running with Bunli in minutes
Install Bunli
Create a new CLI project
create-bunli scaffolding tool to generate a new project with a complete setup.Start development mode
Why Bunli?
Everything you need to build world-class CLIs
Type-safe by design
Advanced plugin system
Beautiful terminal UIs
Compile to binaries
Hot-reload dev mode
Shell completions
Explore the docs
Dive deeper into Bunli’s capabilities
Core Concepts
Learn the fundamentals of commands, options, handlers, and configuration in Bunli.
API Reference
Complete API documentation for all Bunli packages, types, and utilities.
Examples
Explore real-world CLI examples from simple hello-world to complex dev servers.
Plugin Development
Build powerful plugins with typed stores, lifecycle hooks, and shared context.
Ready to build?
Start building production-ready CLIs with Bunli today. Join developers who are shipping better command-line tools.