unbound setup command configures AI coding tools to route through Unbound. It handles authentication, environment variables, and tool-specific config files automatically.
If you are not logged in and --api-key is not provided, the browser opens automatically to authenticate before setup begins.
Interactive setup
Run with no arguments to select tools from an interactive menu:Default bundle
Install Cursor, Claude Code (hooks), Codex (hooks), Copilot (hooks), and Augment (hooks) in one command:Individual tools
Cursor
Claude Code
Claude Code supports two modes:Gemini CLI
Codex
GitHub Copilot
copilot CLI on your existing Copilot subscription.
Augment Code
Instruction-only tools
These tools require manual configuration. The CLI prints the API key and base URL to enter in each tool’s settings.One-step login + setup
Combine authentication and setup in a single command with--api-key:
Remove configuration
Uninstall everything
unbound nuke (alias unbound uninstall) removes Unbound entirely and returns the CLI to a fresh state: it clears tool configuration and deletes your stored credentials (~/.unbound/config.json). When it finishes, run unbound login (or unbound onboard) to set things up again.
The scope follows your privileges — no flag to pick:
--yes to skip the confirmation prompt.
Setup flags
One-step onboarding
unbound onboard runs setup --all followed by device discovery in a single command. Useful for new user enrollment:
MDM setup (admin, requires root)
Scope is automatic: rununbound setup / unbound onboard with sudo to configure every user on the device (MDM/org scope), or without sudo to set up just the current user. For organization admins enrolling devices via MDM, run unbound setup with sudo to configure all users on the device:
MDM setup requires root and is intended for administrators deploying Unbound across an organization’s device fleet. See MDM Integrations for deployment guides.

