flyio-install-auth

Featured

Install flyctl CLI and configure Fly.io authentication with API tokens. Use when setting up a new Fly.io project, configuring deploy tokens, or initializing the Machines API for edge compute deployments. Trigger: "install fly.io", "setup flyctl", "fly.io auth", "fly.io API token".

AI & Automation 2,944 stars 440 forks Updated today MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Fly.io Install & Auth ## Overview Install `flyctl` CLI and configure authentication for Fly.io edge compute platform. Two auth methods: **interactive login** (opens browser) and **API tokens** (CI/CD and Machines API). The Machines API base URL is `https://api.machines.dev`. ## Prerequisites - Fly.io account at [fly.io](https://fly.io) - macOS, Linux, or WSL2 ## Instructions ### Step 1: Install flyctl ```bash # macOS / Linux curl -L https://fly.io/install.sh | sh # Or via Homebrew brew install flyctl # Verify fly version ``` ### Step 2: Authenticate ```bash # Interactive login (opens browser) fly auth login # Or with token (CI/CD) fly auth token # Get current token export FLY_API_TOKEN="fo1_your_token_here" # Verify auth fly auth whoami ``` ### Step 3: Create API Token for Machines API ```bash # Create deploy token (scoped to an app) fly tokens create deploy -a my-app # Create org-level token fly tokens create org # Use with Machines API curl -s -H "Authorization: Bearer $FLY_API_TOKEN" \ https://api.machines.dev/v1/apps | jq '.[].name' ``` ### Step 4: Verify Machines API Access ```typescript const FLY_API = 'https://api.machines.dev'; async function verifyFlyAccess() { const res = await fetch(`${FLY_API}/v1/apps`, { headers: { 'Authorization': `Bearer ${process.env.FLY_API_TOKEN}` }, }); const apps = await res.json(); console.log(`Connected. Found ${apps.length} apps.`); apps.forEach((app: any) => console.log(` ${app.name} (${app.organ...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
1 years ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category