/flyctl

Command line tools for fly.io services

Primary LanguageGoApache License 2.0Apache-2.0

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 superfly/tap/flyctl

Install Script

Download flyctl and install into

Installing the latest version:

curl https://get.fly.io/flyctl.sh | sh

Installing a specific version:

curl https://get.fly.io/flyctl.sh | sh -s v0.0.1

Install into a bin directory other than /usr/local/bin:

BIN_DIR=~/.bin curl https://get.fly.io/flyctl.sh | sh

Downloading from GitHub

Download the appropriate version from the Releases page of the flyctl GitHub repository.

Getting Started

  1. Sign into your fly account
flyctl auth login
  1. List your apps
flyctl apps list
  1. 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