flyctl
flyctl is a command line interface for fly.io
Installation
Using a Package Manager
Homebrew (macOS, Linux, WSL)
brew install superfly/tap/flyctl
To upgrade to the latest version:
brew upgrade flyctl
Install Script
Download flyctl
and install into
Installing the latest version:
curl -L https://fly.io/install.sh | sh
Installing a specific version:
curl -L https://fly.io/install.sh | sh -s v0.0.1
Downloading from GitHub
Download the appropriate version from the Releases page of the flyctl
GitHub repository.
Getting Started
- Sign into your fly account
flyctl auth login
- List your apps
flyctl apps list
- View app status
flyctl 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 other app name setting in the command line.