Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.bunny.net/llms.txt

Use this file to discover all available pages before exploring further.

The Bunny CLI is currently in Public Preview. Commands and flags may evolve during this period, open an issue if you see something broken, or have suggestions to improve the experience.
The Bunny CLI is a single binary (bunny) for managing bunny.net resources from your terminal. It’s useful for scripting, CI/CD, local development workflows, and quickly inspecting resources without leaving your shell.

CLI Quickstart

Key features

  • Single binary: install via curl or npm, authenticate once, run anywhere
  • Databases: create, link, shell into, and inspect Bunny Databases from the command line
  • Raw API access: bunny api lets you hit any bunny.net endpoint with auth handled automatically
  • Profiles: switch between multiple accounts (personal, staging, production) with --profile
  • Scriptable output: --output json / csv / markdown for pipelines, CI, and LLMs

Getting started

Quickstart

Install the CLI, log in, and run your first command

Installation

curl installer and npm options

Configuration

Profiles, environment variables, output formats, and global options

Authentication

bunny login, bunny logout, and bunny whoami

Commands

bunny db

Create and manage Bunny Databases, open an interactive SQL shell, and generate auth tokens

bunny api

Make raw authenticated requests to any bunny.net API endpoint

bunny config

Manage CLI configuration and named profiles

bunny login / logout

Browser-based or API key authentication