Skip to main content
bunny.net CLI 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

View on GitHub

Browse the source, follow releases, and report issues on the Bunny CLI repository

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, run schema migrations, open an interactive SQL shell, and generate auth tokens

bunny dns

Manage DNS zones and records, DNSSEC, query logging, and Scriptable DNS scripts

bunny scripts

Scaffold, deploy, and manage Edge Scripts, deployments, env vars, and custom domains

bunny storage

Create and manage Storage zones, credentials, custom domains, and files

bunny sites

Build and deploy static sites to Bunny Storage and Bunny CDN (Public Preview)

bunny sandbox

Create and manage on-demand cloud sandboxes backed by Magic Containers

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
Last modified on October 19, 2026