
flyctl
CLIFly.io 官方命令行(fly):登录账号、创建并部署应用、查看应用列表与运行状态,自动读取当前目录的 fly.toml 识别应用。需要 Fly.io 账号。
flyctl
flyctl is a command-line interface for fly.io.
Note: Most installations of flyctl also alias flyctl to fly as a command name, and this will become the default name in the future. During the transition, note that where you see flyctl as a command, it can be replaced with fly.
Installation
Using a Package Manager
Homebrew (macOS, Linux, WSL)
brew install flyctl
To upgrade to the latest version:
brew upgrade flyctl
Install Script
Download flyctl and install it into a local bin directory.
macOS, Linux, WSL
Installing the latest version:
curl -L https://fly.io/install.sh | sh
Installing the latest pre-release version:
curl -L https://fly.io/install.sh | sh -s pre
Installing a specific version:
curl -L https://fly.io/install.sh | sh -s 0.0.200
Windows
Run the PowerShell install script:
iwr https://fly.io/install.ps1 -useb | iex
Downloading from GitHub
Download the appropriate version from the Releases page of the flyctl GitHub repository.
Getting Started
-
Sign into your Fly account:
fly auth login -
List your apps:
fly apps list -
View app status:
fly status -a {app-name}
App Settings
flyctl will attempt to use the app name from a fly.toml file in the current directory. For example, if the current directory contains this file:
$ cat fly.toml
app: banana
flyctl will operate against the banana app unless overridden by the -a flag or another app name setting in the command line.
Releases
flyctl is automatically released at 3 PM Eastern Standard Time, Monday - Thursday. If needed, you can bump a release by running ./scripts/bump_version.sh.
Building on Windows
There is a simple PowerShell script, winbuild.ps1, which will run the code generation for the help files, format them, and run a full build, leaving a new binary in the bin directory.
Contributing Guide
See CONTRIBUTING.md
相關資源

Docker Compose
CLI用 compose.yaml 定义多容器应用,一条 docker compose up 拉起服务、数据库、缓存等整套环境,适合 agent 搭建本地开发与测试依赖。Docker 官方维护,macOS 随 Docker Desktop 附带。
docker/compose38.4k
Podman
CLI无需守护进程、支持 rootless 的容器与 Pod 管理工具,命令行与 Docker 兼容,可构建、运行、推送 OCI 镜像;macOS 与 Windows 需通过 podman machine 虚拟机运行。
podman-container-tools/podman33.1k
Pulumi
CLI用 TypeScript、Python、Go 等通用编程语言定义云基础设施,pulumi up 即可预览并部署到 AWS、Azure、GCP、Kubernetes 等 300 多个提供方。Pulumi 官方维护,开源。
pulumi/pulumi25.8k
AWS CLI
CLIAWS 官方统一命令行,用一套命令管理 EC2、S3、IAM 等各项 AWS 服务,支持 --query(JMESPath)过滤与 JSON 输出,便于 agent 查询和变更云资源。使用前需用 aws configure 配置访问凭证。
aws/aws-cli17.3k
Dagger
CLI可编程的软件交付引擎:用 Go、Python、TypeScript 等 8 种语言的 SDK 编写构建、测试与发布流程,全部在容器中运行,本地与 CI 行为一致,自带 OpenTelemetry 追踪。需要 Docker 等容器运行时。
dagger/dagger16.3k
cloudflared
CLICloudflare Tunnel 官方客户端:无需开放防火墙端口即可把本地服务暴露到公网,也能代理 SSH、RDP 等 TCP 访问。命名隧道需 Cloudflare 账号与域名,快速隧道可免登录试用。
cloudflare/cloudflared16.2k