login
Authenticate with FlightStack
The FlightStack CLI is your command-line interface for managing build agents, viewing builds, and interacting with FlightStack.
# macOS (Homebrew)brew tap voostack/tap && brew install flightstack
# Linux / macOS (curl)curl -fsSL https://get.flightstack.dev | bash
# Windows (PowerShell)Invoke-WebRequest -Uri "https://github.com/voostack/flightstack-releases/releases/latest/download/flightstack-windows-x64.zip" -OutFile "flightstack.zip"See the Installation Guide for detailed setup instructions.
flightstack <command> [subcommand] [options]# General helpflightstack --help
# Command-specific helpflightstack agent --helpflightstack agent start --helplogin
Authenticate with FlightStack
agent
Manage build agents
logout
Sign out of FlightStack
| Command | Description |
|---|---|
flightstack login | Authenticate with your account |
flightstack logout | Sign out |
flightstack agent list | List all agents |
flightstack agent show <id> | Show agent details |
flightstack agent register | Register this machine |
flightstack agent start | Start the agent |
flightstack agent stop | Stop the agent |
flightstack agent status | Show local agent status |
flightstack agent install | Install as startup service |
flightstack agent uninstall | Remove startup service |
flightstack agent update <id> | Update agent settings |
flightstack agent delete <id> | Delete an agent |
flightstack update | Update CLI to latest version |
flightstack config | View/modify CLI configuration |
Both the CLI and build agent support automatic updates.
Enable automatic updates so you don’t have to manually update:
# Enable auto-updateflightstack config --auto-update true
# Disable auto-updateflightstack config --auto-update false
# Manual updateflightstack updateWhen auto-update is enabled, the CLI checks for updates once every 24 hours and automatically downloads and applies new versions.
Agents automatically update between jobs by default. This ensures your remote build agents stay up-to-date without manual intervention.
# Disable auto-update for this sessionflightstack-agent start --no-auto-update
# Or disable in config.json:# "autoUpdate": falseWhen an agent updates, it exits with code 100 and restarts. If you’re using a process manager (systemd, launchd), configure it to restart on this exit code.
| Option | Description |
|---|---|
--help, -h | Show help |
--version, -v | Show version |
CLI configuration is stored at:
~/.flightstack/%USERPROFILE%\.flightstack\Files:
config.json - User authenticationagent.json - Agent registration (if registered)