Fly CLI cheat sheet
- agent - Commands that manage the Fly agent, a background process that manages flyctl wireguard connections
-
apps
- Manage apps.
- create - Create a new application.
- destroy - Permanently destroy an app.
- errors - View application errors on Sentry.io
- list - List applications.
- move - Move an app to another organization.
- open - Open browser to current deployed application
- releases - List app releases
- restart - Restart an application.
- auth - Manage authentication
- certs - Manage certificates
-
checks
- Manage health checks
- list - List health checks
- config - Manage an app's configuration
-
console
- Run a console in a new or existing machine
- consul - Enable and manage Consul clusters
-
dashboard
- Open web browser on Fly Web UI for this app
- metrics - Open web browser on Fly Web UI for this app's metrics
-
deploy
- Deploy Fly applications
-
dig
- Make DNS requests against Fly.io's internal DNS server
-
docs
- View Fly documentation
-
doctor
- The DOCTOR command allows you to debug your Fly environment
- diag - Send diagnostic information about your applications back to Fly.io.
-
extensions
- Extensions are additional functionality that can be added to your Fly apps
- arcjet - Provision and manage Arcjet
- enveloop - Provision and manage Enveloop projects
- kafka - Provision and manage Upstash Kafka clusters
- sentry - Setup a Sentry project for this app
- storage - Provision and manage Tigris object storage buckets
- supabase - Provision and manage Supabase Postgres databases
- vector - Provision and manage Upstash Vector index
- image - Manage app image
-
incidents
- Show incidents
- list - List active incidents.
-
ips
- Manage IP addresses for apps
- allocate-v4 - Allocate an IPv4 address
- allocate-v6 - Allocate an IPv6 address
- list - List allocated IP addresses
- private - List instances private IP addresses
- release - Release IP addresses
-
jobs
- Show jobs at Fly.io
- open - Open fly.io/jobs
-
launch
- Create and configure a new app from source code or a Docker image
- litefs-cloud - LiteFS Cloud management commands
-
logs
- View app logs
-
machine
- Manage Fly Machines.
- api-proxy - Establish a proxy to the Machine API through a Wireguard tunnel for local connections
- clone - Clone a Fly Machine
- cordon - Deactivate all services on a machine
- create - Create, but don't start, a machine
- destroy - Destroy Fly machines
- exec - Execute a command on a machine
- kill - Kill (SIGKILL) a Fly machine
- leases - Manage machine leases
- list - List Fly machines
- restart - Restart one or more Fly machines
- run - Run a machine
- start - Start one or more Fly machines
- status - Show current status of a running machine
- stop - Stop one or more Fly machines
- uncordon - Reactivate all services on a machine
- update - Update a machine
- orgs - Commands for managing Fly organizations
-
ping
- Test connectivity with ICMP ping messages
- platform - Fly platform information
-
postgres
- Manage Postgres clusters.
- attach - Attach a postgres cluster to an app
- barman - Manage databases in a cluster
- config - Show and manage Postgres configuration.
- connect - Connect to the Postgres console
- create - Create a new Postgres cluster
- db - Manage databases in a cluster
- detach - Detach a postgres cluster from an app
- events - Track major cluster events
- failover - Failover to a new primary
- import - Imports database from a specified Postgres URI
- list - List postgres clusters
- renew-certs - Renews the SSH certificates for the Postgres cluster.
- restart - Restarts each member of the Postgres cluster one by one.
- users - Manage users in a postgres cluster
-
proxy
- Proxies connections to a Fly Machine.
-
redis
- Launch and manage Redis databases managed by Upstash.com
- connect - Connect to a Redis database using redis-cli
- create - Create an Upstash Redis database
- dashboard - View your Upstash Redis databases on the Upstash web console
- destroy - Permanently destroy an Upstash Redis database
- list - List Upstash Redis databases for an organization
- plans - List available Redis plans
- proxy - Proxy to a Redis database
- reset - Reset the password for an Upstash Redis database
- status - Show status of a Redis database
- update - Update an Upstash Redis database
-
releases
- List app releases
- scale - Scale app resources
- secrets - Manage application secrets with the set and unset commands.
-
services
- Show the application's services
- list - List services
-
settings
- Manage flyctl settings
- analytics - Control anonymized analytics collection
- autoupdate - Control automatic updates
- sftp - Get or put files from a remote VM.
- ssh - Use SSH to log into or run commands on Machines
-
status
- Show app status
-
storage
- Provision and manage Tigris object storage buckets
- create - Provision a Tigris object storage bucket
- dashboard - Visit the Tigris dashboard
- destroy - Permanently destroy a Tigris object storage bucket
- list - List your Tigris object storage buckets
- status - Show details about a Tigris storage bucket
- update - Update an existing Tigris object storage bucket
- tokens - Manage Fly.io API tokens
-
version
- Show version information for the flyctl command
- upgrade - Checks for available updates and automatically upgrades
-
volumes
- Manage Fly Volumes.
- create - Create a new volume for an app.
- destroy - Destroy one or more volumes.
- extend - Extend a volume to the specified size.
- fork - Fork the specified volume.
- list - List the volumes associated with an app.
- show - Show the details of the specified volume.
- snapshots - Manage volume snapshots.
- update - Update a volume for an app.
-
wireguard
- Commands that manage WireGuard peer connections
- create - Add a WireGuard peer connection
- list - List all WireGuard peer connections
- remove - Remove a WireGuard peer connection
- reset - Reset WireGuard peer connection for an organization
- token - Commands that managed WireGuard delegated access tokens
- websockets - Enable or disable WireGuard tunneling over WebSockets