All Projects → superfly → Flyctl

superfly / Flyctl

Licence: apache-2.0
Command line tools for fly.io services

Programming Languages

go
31211 projects - #10 most used programming language

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 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

  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 unless overridden by the -a flag or other app name setting in the command line.

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.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].