Linux command
bunny 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Authenticate
bunny login
Deploy
bunny apps deploy
List
bunny db list
Install
curl -fsSL https://cli.bunny.net/install.sh | sh
Install
npm install -g @bunny.net/cli
Show
bunny --help
说明
bunny is the official command-line client for bunny.net, providing terminal access to the platform's developer toolkit: Magic Containers, edge databases, storage buckets, edge scripts, DNS zones, and CDN pull zones. It is implemented in TypeScript and distributed both as a standalone binary and as the npm package @bunny.net/cli. The CLI's primary workflows include logging in, deploying applications to Magic Containers (which auto-provisions globally distributed runtimes), and managing supporting resources such as databases. It is part of bunny.net's broader move toward a unified developer experience, alongside the @bunny.net/api type-safe SDK and one-click templates.
参数
- login
- Authenticate the local CLI with a bunny.net account; tokens are stored locally for subsequent commands.
- apps deploy
- Build and deploy the current project to Magic Containers. Automatically provisions infrastructure, scales globally, and routes traffic.
- db list
- List databases (including bunny.net's edge database product) attached to the active account.
- --help, -h
- Print help for the CLI or a specific subcommand.
- --version
- Print version information.
FAQ
What is the bunny command used for?
bunny is the official command-line client for bunny.net, providing terminal access to the platform's developer toolkit: Magic Containers, edge databases, storage buckets, edge scripts, DNS zones, and CDN pull zones. It is implemented in TypeScript and distributed both as a standalone binary and as the npm package @bunny.net/cli. The CLI's primary workflows include logging in, deploying applications to Magic Containers (which auto-provisions globally distributed runtimes), and managing supporting resources such as databases. It is part of bunny.net's broader move toward a unified developer experience, alongside the @bunny.net/api type-safe SDK and one-click templates.
How do I run a basic bunny example?
Run `bunny login` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does login do in bunny?
Authenticate the local CLI with a bunny.net account; tokens are stored locally for subsequent commands.