> ## 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:

> [tab] 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`.

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

See [Installation](https://bunny.net/docs/cli/installation.md) for more options.

**2. Authenticate**

Log in with your bunny.net account:

> [tab] Browser
>
> ```bash theme={null}
> bunny login
> ```
>
> Opens your browser to complete sign-in. Credentials are stored in your CLI config under the `default` profile.

> [tab] API key
>
> ```bash theme={null}
> bunny config init --api-key bny_xxxxxxxxxxxx
> ```
>
> Set up a profile directly from a bunny.net [API key](https://bunny.net/docs/account/api-keys.md).

**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](https://bunny.net/docs/cli/configuration.md#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:

> [card] [bunny db](https://bunny.net/docs/cli/commands/db.md)
>
> Create and manage Bunny Databases, open an interactive SQL shell, and
> generate auth tokens

> [card] [bunny scripts](https://bunny.net/docs/cli/commands/scripts.md)
>
> Scaffold, deploy, and manage Edge Scripts and their custom domains

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

> [card] [bunny config](https://bunny.net/docs/cli/commands/config.md)
>
> Manage CLI configuration and named profiles


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