> ## Documentation Index
> Fetch the complete documentation index at: https://bunny.net/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Quickstart

> Install the Bunny CLI, authenticate, and start managing your bunny.net resources.

**1. Install the CLI**

Install `bunny` using the shell installer or npm:

**curl**

```bash theme={null}
curl -fsSL https://cli.bunny.net/install.sh | sh
```

The installer downloads a prebuilt binary for your platform and places it on your `PATH`. Works with `sh`, `bash`, or `zsh`.

**npm**

```bash theme={null}
npm install -g @bunny.net/cli
```

See [Installation](/docs/cli/installation) for more options.

**2. Authenticate**

Log in with your bunny.net account:

**Browser**

```bash theme={null}
bunny login
```

Opens your browser to complete sign-in. Credentials are stored in your CLI config under the `default` profile.

**API key**

```bash theme={null}
bunny config init --api-key bny_xxxxxxxxxxxx
```

Set up a profile directly from a bunny.net [API key](/docs/account/api-keys).

**3. Verify you're logged in**

Confirm the CLI is authenticated with the expected account:

```bash theme={null}
bunny whoami
# Logged in as Jamie Barton (jamie@bunny.net) 🐇
# Profile: default
# Account ID: 3d5a9c1e-7f42-4b8a-9c36-2e8d1f6a4b70
```

If you manage multiple accounts, see [profiles](/docs/cli/configuration#profiles) for switching between them with `--profile`.

**4. Run your first command**

With the CLI authenticated, you can manage any bunny.net resource from your terminal:

> **[bunny db](/docs/cli/commands/db)**
>
> Create and manage Bunny Databases, open an interactive SQL shell, and
> generate auth tokens

> **[bunny scripts](/docs/cli/commands/scripts)**
>
> Scaffold, deploy, and manage Edge Scripts and their custom domains

> **[bunny api](/docs/cli/commands/api)**
>
> Make raw authenticated requests to any bunny.net API endpoint

> **[bunny config](/docs/cli/commands/config)**
>
> Manage CLI configuration and named profiles


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.