Skip to content

Installation

This guide covers installing the FlightStack CLI and setting up build agents on different platforms.

The FlightStack CLI is the primary tool for managing your build agents and interacting with FlightStack from the command line.

Terminal window
# Add the FlightStack tap
brew tap voostack/tap
# Install FlightStack
brew install flightstack
# Verify installation
flightstack --version
Terminal window
# Download and install
curl -fsSL https://get.flightstack.dev | bash
# Verify installation
flightstack --version
Terminal window
# Add the FlightStack bucket
scoop bucket add voostack https://github.com/voostack/scoop-bucket
# Install FlightStack
scoop install flightstack
# Verify installation
flightstack --version

Build agents are the machines that execute your builds. Here are the requirements for each platform:

RequirementMinimumRecommended
macOS12.0 (Monterey)14.0+ (Sonoma)
Xcode14.015.0+
RAM8 GB16 GB+
Storage50 GB free100 GB+ free

Required software:

Terminal window
# Install Xcode from the App Store, then:
sudo xcode-select --install
sudo xcodebuild -license accept
# Install Flutter
brew install flutter
flutter doctor
# Install CocoaPods (for iOS dependencies)
sudo gem install cocoapods
RequirementMinimumRecommended
Ubuntu20.04 LTS22.04 LTS
RAM4 GB8 GB+
Storage30 GB free50 GB+ free

Required software:

Terminal window
# Update system
sudo apt update && sudo apt upgrade -y
# Install dependencies
sudo apt install -y git curl unzip
# Install Flutter
sudo snap install flutter --classic
flutter doctor
# Install Android SDK (for Android builds)
sudo apt install -y android-sdk
flutter config --android-sdk /usr/lib/android-sdk
RequirementMinimumRecommended
Windows10 (1903+)11
RAM4 GB8 GB+
Storage30 GB free50 GB+ free

Required software:

Terminal window
# Install Flutter (using Chocolatey)
choco install flutter
# Or download from flutter.dev
# https://docs.flutter.dev/get-started/install/windows
# Install Android Studio for Android SDK
choco install androidstudio
# Verify
flutter doctor
  1. Terminal window
    # Check CLI version
    flightstack --version
    # Check available commands
    flightstack --help
  2. Terminal window
    flightstack login

    This opens your browser for authentication. After logging in, you’ll see confirmation in the terminal.

  3. Terminal window
    flightstack agent register

    The CLI will detect your system capabilities automatically.

  4. To have the agent start automatically on boot:

    Terminal window
    flightstack agent install

    See Auto-Start on Boot for platform-specific details.

Terminal window
brew update && brew upgrade flightstack

The agent checks for updates automatically. To manually update:

Terminal window
# Stop the running agent
flightstack agent stop
# Update the CLI (includes agent)
# Use your package manager or re-download
# Start the agent again
flightstack agent start
Terminal window
brew uninstall flightstack
Terminal window
flightstack agent uninstall

This removes the startup configuration but keeps your agent registered.

Terminal window
# Stop and uninstall
flightstack agent stop
flightstack agent uninstall
# Delete the agent from FlightStack
flightstack agent delete <agent-id>
# Remove local configuration
rm -rf ~/.flightstack

The binary isn’t in your PATH. Either:

  • Add the installation directory to your PATH
  • Move the binary to a directory in your PATH (e.g., /usr/local/bin)
Terminal window
# Make the binary executable
chmod +x /path/to/flightstack

Ensure Flutter is installed and in your PATH:

Terminal window
# Check Flutter installation
which flutter
flutter doctor
# If not found, add to PATH
export PATH="$PATH:/path/to/flutter/bin"
Terminal window
# Accept Xcode license
sudo xcodebuild -license accept
# Set Xcode path
sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer
# Install command line tools
xcode-select --install

Need more help? Check our Troubleshooting Guide or join our Discord.