Install flyctl
flyctl is a command-line utility that lets you work with Fly.io, 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
If you have the Homebrew package manager installed, flyctl can be installed by running:
brew install flyctl
If not, you can run the install script:
curl -L https://fly.io/install.sh | sh
After that, you should add the flyctl directory to your shell rc file. Check the output of the install script for the exact command. Copy, paste and run it and the flyctl
command will be available everywhere. Or for maximum efficiency, you can use the fly
command!
Linux
Run the install script:
curl -L https://fly.io/install.sh | sh
Windows
Run the Powershell install script:
powershell -Command "iwr https://fly.io/install.ps1 -useb | iex"
- If this is your first time with Fly.io, your next step will be to Sign up.
- If you already have a Fly.io account, then your next step is to Sign in to Fly.io.