Manage Postgre clusters.


flyctl postgres [command] [flags]

Available Commands

  • attach - Attach a postgres cluster to an app
  • config - View and manage Postgres configuration.
  • connect - Connect to the Postgres console
  • create - Create a new PostgreSQL cluster
  • db - Manage databases in a cluster
  • detach - Detach a postgres cluster from an app
  • list - List postgres clusters
  • restart - Restarts each member of the Postgres cluster one by one.
  • update - Updates the Postgres cluster to the latest eligible version
  • users - Manage users in a postgres cluster


  -h, --help   help for postgres

Global Options

  -t, --access-token string   Fly API Access Token
  -j, --json                  json output
      --verbose               verbose output

See Also