flyctl

officialscriptabledeploy
$ brew install flyctl
Summary

Global deploys, machines, and app scaling from the terminal.

  • flyctl fits deploy well, especially for global deploys, machines, and app scaling from the terminal.
  • It is the official CLI from Fly.io.
  • Easy to automate.
  • Good fit for coding-agent workflows and repeatable scripts.
  • Output is mostly text-first, so verify results before scripting around it.
deploy-flyctl-SKILL.md

Flyctl guide

The official CLI from Fly.io. Global deploys, machines, and app scaling from the terminal.

Open CLI packages the install path, verify step, and safe-start workflow so this tool can move from “interesting CLI” to something you can actually use. It also integrates with skills.sh so each CLI comes with the right companion skills, not just a binary and a docs link.

When to apply

  • global deploys, machines, and app scaling from the terminal.
  • You need deployments in both local dev and CI.
  • You need global deploys.
  • You need machines.
  • You need app scaling.

Quick reference

Installbrew install flyctl
Verifyfly auth whoami
First real commandfly auth login && fly launch

Open CLI × skills.sh

Open CLI integrates flyctl with the right skills.sh companions so you get the tool and the workflow together.

Deployment Automation

Recommended pairing

Open CLI recommends this skills.sh skill because it fits deploy workflows. Safer deployment routines with approvals, checks, and repeatable steps.

View on skills.sh
$ npx skills add https://github.com/supercent-io/skills-template --skill deployment-automation
Starter prompt

Use flyctl together with the Deployment Automation skills.sh skill. Inspect the current project, verify prerequisites, and suggest the safest next deployment step before changing anything.

Why this tool

  • flyctl fits deploy well, especially for global deploys, machines, and app scaling from the terminal.
  • It is the official CLI from Fly.io.
  • Easy to automate.

Watch-outs

  • Sign in before real work.
  • Needs network access.
  • Output is mostly plain text.

Example workflow

1. fly auth login && fly launch

Safe start

Step 1

Install flyctl.

Step 2

Run `fly auth whoami` first.

Step 3

Start with `fly auth login && fly launch`.

Step 4

Authenticate flyctl before asking the agent to do real work.

Alternatives worth considering