flyctl is a command line interface for fly.io
Homebrew (macOS, Linux, WSL)
brew install superfly/tap/flyctlDownload flyctl and install into
Installing the latest version:
curl https://get.fly.io/flyctl.sh | shInstalling a specific version:
curl https://get.fly.io/flyctl.sh | sh -s v0.0.1Install into a bin directory other than /usr/local/bin:
BIN_DIR=~/.bin curl https://get.fly.io/flyctl.sh | shDownload the appropriate version from the Releases page of the flyctl GitHub repository.
- Sign into your fly account
flyctl auth login- List your apps
flyctl apps list- View app status
flyctl status -a {app-name}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: bananaflyctl will operate against the banana app