The official command-line interface for the Butea platform.
Deploy projects, manage deployments and more — without leaving your terminal or IDE.
npm install -g butea-cliRequires Node.js 18+. The correct binary for your OS/architecture is installed automatically.
# 1. Authenticate (opens browser)
butea init
# 2. Link a repo to a project
cd my-app
butea init # → creates .butea.toml
# 3. Deploy
butea deploy
# 4. Check status
butea deployments list <projectId>
butea health| Command | Description |
|---|---|
butea init |
Authenticate + optionally link a project |
butea deploy [id] [-b branch] |
Trigger a deployment |
butea projects list / get / delete |
Manage projects |
butea deployments list / get / cancel |
Manage deployments |
butea auth whoami |
Show authenticated user |
butea auth logout |
Sign out |
butea health |
Check API status |
~/.butea/
├── config.toml # api_url, app_url
└── cred.toml # tokens [0600]
<repo>/
└── .butea.toml # project_id, branch
Override via env vars for CI/CD:
BUTEA_API_URL=https://api.mycompany.com
BUTEA_APP_URL=https://app.mycompany.combutea init opens your browser — you sign in once via GitHub, GitLab, or Google.
Tokens are stored in ~/.butea/cred.toml (mode 0600) and silently refreshed in the background.
Nothing is ever typed into the terminal.
Full reference → docs.butea.in/cli
MIT — see LICENSE