Installation
Install the Bunli CLI globally using Bun:bunx:
Available Commands
The Bunli CLI provides the following commands:| Command | Alias | Description |
|---|---|---|
bunli dev | d | Run your CLI in development mode with hot reload |
bunli build | b | Build your CLI for production |
bunli test | t | Run tests for your CLI |
bunli generate | gen | Generate command type definitions |
bunli release | r | Create a release of your CLI |
bunli init | i | Initialize a new Bunli CLI project |
bunli doctor | - | Run diagnostics for Bunli projects |
Global Options
All Bunli commands support the following global options:--help,-h- Show help for a command--version,-v- Show version information
Usage Examples
Quick Start
Create a new Bunli project:Development Workflow
Start development mode with hot reload:Production Release
Create and publish a release:Command Reference
For detailed information about each command, see the following pages:- Development Mode - Hot reload and development workflow
- Testing - Running and writing tests
- Building - Compiling and bundling for production
- Releasing - Publishing releases to npm and GitHub
Configuration
The Bunli CLI can be configured using abunli.config.ts file in your project root:
Package Information
The Bunli CLI is published as thebunli package:
- Package:
bunli - Version: 0.8.0
- Binary:
bunli - Repository: github.com/AryaLabsHQ/bunli
- License: MIT
Source Code
The CLI implementation can be found at:Next Steps
- Learn about Development Mode for rapid CLI development
- Explore Testing to write tests for your commands
- Read about Building to create production builds
- Understand Releasing to publish your CLI