Developer install
For contributors working on bunny itself. Compiles from source on first run.
From a git clone
git clone https://github.com/bunnyandcloud/bunny.git && cd bunny
./bunny setup
bunny configure
bunny run
On Debian/Ubuntu, ./bunny setup installs Rust, Node, tmux, and the browser stack automatically.
Skip browser tab:
./bunny setup --minimal
First install takes 5–10 minutes. Subsequent starts are much faster.
Setup and PATH
./bunny setup symlinks the launcher and builds the release binary:
/usr/local/binwhen writable (root, Docker, orsudo ./bunny setup) →bunnyavailable immediately~/.local/binotherwise → updates~/.bashrc/~/.zshrc; open a new shell after setup
On a multi-user VM, prefer sudo ./bunny setup for instant PATH behavior.
Alternative install script (from a clone, Debian/Ubuntu):
./scripts/install.sh
bunny configure
bunny run
Skip browser stack: ./scripts/install.sh --minimal. Already have Rust/Node: ./scripts/install.sh --skip-prerequisites.
Prerequisites
Install before cargo build or bunny run:
| Tool | Notes |
|---|---|
| Rust 1.86+ | rustup — then source "$HOME/.cargo/env" |
| Node.js 20+ + npm | Web UI build + WebRTC/CDP sidecars |
| build-essential, pkg-config, libssl-dev | Linux compile deps |
| tmux | Persistent terminals |
Neovim (nvim) | Default editor on the remote host |
Browser tab (optional; not needed for port preview):
| Tool | Notes |
|---|---|
| Chromium | Playwright bundle — Ubuntu 24.04 apt is snap-only |
| Xvfb, x11vnc, websockify, novnc | Browser tab (noVNC) |
| Sidecar npm | apps/server/webrtc-sidecar, apps/server/cdp-sidecar |
On Debian/Ubuntu / Docker:
./scripts/install-prerequisites.sh
source "$HOME/.cargo/env"
bunny doctor
Minimal (no browser stack):
./scripts/install-prerequisites.sh --minimal
source "$HOME/.cargo/env"
Verify: bunny doctor
Docker dev
Agent in Ubuntu container with source mounted:
./scripts/docker-dev.sh bootstrap
./scripts/docker-dev.sh shell
bunny run
Browser tab needs one-time ./scripts/docker-dev.sh browser-setup.
Mac: Discord bridge runs on the host — see Discord + Docker on Mac.
Manual container:
docker compose -f docker-compose.dev.yml up -d
docker compose -f docker-compose.dev.yml exec bunny-dev bash
cd /opt/bunny && ./bunny setup && bunny configure && bunny run
Other commands
| Command | Purpose |
|---|---|
bunny start | API only |
./bunny run --no-web-ui | Agent without UI |
bunny dev --cmd "…" | Dev session + terminal |
bunny secrets init | Encrypted secrets vault — see Security |
Secrets vault
bunny secrets init
bunny secrets set OPENAI_API_KEY --scope system
export BUNNY_SECRETS_PASSPHRASE='your-vault-passphrase'
Full details: Security.
macOS (local)
xcode-select --install # if needed
curl -fsSL https://sh.rustup.rs | sh
# Node from https://nodejs.org/ or brew install node
git clone https://github.com/bunnyandcloud/bunny.git && cd bunny
./bunny setup
bunny configure
bunny run
For full browser tab support on Mac, prefer Docker dev.