Installing flyctl

Flyctl is a command-line utility that lets you work with Fly, from creating your account to deploying your applications. It runs on your local device so you'll want to install the version that's appropriate for your operating system:

macOS Linux Windows

macOS

With Homebrew

If you have the Homebrew package manager installed, flyctl is available to you by running:

brew install superfly/tap/flyctl

Or you can run the install script

curl -L https://fly.io/install.sh | sh

Linux

Run the install script

curl -L https://fly.io/install.sh | sh

Windows

Run the Powershell install script

iwr https://fly.io/install.ps1 | iex

If your Windows installation has never been exposed to Internet Explorer, this command may produce an error:

iwr : The response content cannot be parsed because the Internet Explorer engine is not available, or Internet Explorer's first-launch configuration is not complete. Specify the UseBasicParsing parameter and try again.

In this case, run the command:

iwr https://fly.io/install.ps1 -useBasicParsing | iex

And you'll be good to go.

Next...

To continue, you need a Fly account.

  • If this is your first time with Fly, your next step will be to Sign-Up For Fly.
  • If you already have a Fly account, then your next step is to Sign-In To Fly.