LinuxCommandLibrary

flyctl

CLI for deploying apps on Fly.io platform

TLDR

Launch new app
$ flyctl launch
copy
Deploy application
$ flyctl deploy
copy
List apps
$ flyctl apps list
copy
View logs
$ flyctl logs
copy
SSH into machine
$ flyctl ssh console
copy

SYNOPSIS

flyctl command [options] [arguments]

DESCRIPTION

flyctl (also available as fly) is the CLI for Fly.io, a platform for deploying applications globally on edge infrastructure. It manages applications, deployments, and platform resources.
The tool deploys Docker containers or builds from source, distributing them across Fly's global network. It handles secrets, volumes, scaling, and networking configuration.
flyctl enables full platform control from the command line, from initial launch to production management.

PARAMETERS

COMMAND

Operation: launch, deploy, apps, logs, ssh, etc.
launch
Create and deploy new app.
deploy
Deploy current directory.
apps SUBCMD
Manage applications.
logs
View application logs.
ssh SUBCMD
SSH access to machines.
secrets SUBCMD
Manage secrets/environment.
scale SUBCMD
Adjust resources.
--help
Display help information.

CONFIGURATION

fly.toml

Application configuration file defining services, regions, build settings, and environment variables.

CAVEATS

Requires Fly.io account. Usage incurs costs. Some features region-dependent.

HISTORY

flyctl is the CLI for Fly.io, a platform launched in 2017 focusing on edge deployment. It positions applications close to users worldwide using lightweight VMs.

SEE ALSO

docker(1), heroku(1), railway(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard