Marek Nalikowski

Manage bunny.net from the terminal with the new CLI

You (and your agent) can now build on bunny.net with a single command-line tool.

This first release ships with full Bunny Database support:

→ Create and manage databases interactively or with flags
→ Link a directory to a database so commands just work
→ Drop into an interactive SQL shell
→ Spin up a local read-only table viewer with bunny db studio
→ Manage tokens, replicas, and more without touching the dashboard

There's also 𝚋𝚞𝚗𝚗𝚢 𝚊𝚙𝚒 — a raw, authenticated HTTP client for our entire API.

Edge Scripting, Storage, and Magic Containers support is coming next.

The CLI is currently in public preview. It's open-source and we want to build it with the community: we'd love your feedback, bug reports, and pull requests.

Get all the details on the blog: https://bunny.net/blog/introducing-the-bunny-net-cli/

72 views

Add a comment

Replies

Best
Jonathan Hayes

Can I use this to manage my dev and prod stuff separately?

Jamie Barton

@jonathan_hayes3 the CLI currently is used to manage resources in bunny.net. Some users create separate databases, buckets, etc. for dev/prod purposes, so the CLI can manage those, but we won't have "environments" for a little while yet, it is planned though.

John.Barba4.com

You guys rock!