Installation
This page covers prerequisites, the supported install methods, provider authentication, verifying your install, and updating.
Prerequisites
- Node.js ≥ 22.13.0. agents-fleet uses the
node:sqlitebuilt-in, which stabilized in Node 22.13. Check withnode --version. - A supported LLM provider (at least one):
- GitHub Copilot (default) — the
ghCLI installed and authenticated with an active Copilot subscription. - Anthropic Claude — an Anthropic API key or OAuth token.
- GitHub Copilot (default) — the
- git — required for worktree-isolated coder workers and most workflows.
TIP
The one-line installers below will check for Node and the gh CLI and offer to install them if they're missing.
Install methods
One-line installer (recommended)
macOS / Linux:
curl -fsSL https://raw.githubusercontent.com/vriveras/agents-fleet/master/install.sh | bashWindows (PowerShell):
irm https://raw.githubusercontent.com/vriveras/agents-fleet/master/install.ps1 | iexPiped like this, the installer silently installs the latest stable release.
Pick a specific version
When you run the installer directly in a terminal (not piped), it shows an interactive menu of the ten most recent stable releases. Press Enter to take the latest, or type a number for an older one.
macOS / Linux:
# Interactive menu (opens when run in a terminal)
bash <(curl -fsSL https://raw.githubusercontent.com/vriveras/agents-fleet/master/install.sh)
# Install a specific version directly
curl -fsSL https://raw.githubusercontent.com/vriveras/agents-fleet/master/install.sh -o install.sh
bash install.sh --version v0.36.3
# List available releases and exit (no install)
bash install.sh --list-versions
# Always install latest, skip the menu
bash install.sh --latestWindows (PowerShell):
# Save and run directly for the interactive menu
$script = irm https://raw.githubusercontent.com/vriveras/agents-fleet/master/install.ps1
$script | Out-File install.ps1; .\install.ps1
# Install a specific version
.\install.ps1 -Version v0.36.3
# List available releases and exit
.\install.ps1 -ListVersions
# Always install latest, skip the menu
.\install.ps1 -LatestInstaller flags
install.sh also accepts --skip-node, --skip-gh, and --skip-fleet to skip individual setup steps. Run bash install.sh --help for the full list.
From source
git clone https://github.com/vriveras/agents-fleet.git
cd agents-fleet
npm install
npm run build
npm linkThis builds the TypeScript to dist/ and links the agents-fleet binary onto your PATH.
Provider authentication
agents-fleet needs credentials for whichever provider you launch with. Run /doctor inside the REPL at any time to verify the active provider's auth is detected.
GitHub Copilot (default)
- Install the GitHub CLI.
- Authenticate:
gh auth login. - Ensure your account has an active GitHub Copilot subscription.
Launch with the default provider:
agents-fleet # provider defaults to copilot
agents-fleet --provider copilotAnthropic Claude
Set one of the following environment variables before launching:
ANTHROPIC_API_KEYCLAUDE_CODE_OAUTH_TOKENANTHROPIC_AUTH_TOKEN
(If you have the Claude Code CLI, claude auth login also works.)
export ANTHROPIC_API_KEY=sk-ant-...
agents-fleet --provider claudeProvider pinning
A session is pinned to the provider it was created with. Resuming a Claude session under --provider copilot (or vice-versa) is rejected with a clear error. Some Claude behaviors differ slightly — for example, goal-driven loops (/loop) require --unattended under --provider claude.
Verify the install
agents-fleet --version # prints the installed version, e.g. 0.36.3
agents-fleet --help # lists all CLI flagsThen launch the REPL in a project directory and run /doctor:
cd your-project
agents-fleet❯ /doctor/doctor reports your Node version, provider auth status, gh availability, and other environment checks.
Updating
Re-run the one-line installer to upgrade to the latest release:
# macOS / Linux
curl -fsSL https://raw.githubusercontent.com/vriveras/agents-fleet/master/install.sh | bash
# Windows
irm https://raw.githubusercontent.com/vriveras/agents-fleet/master/install.ps1 | iexIf you installed from source, pull and rebuild:
git pull
npm install
npm run buildNext steps
- Quickstart — launch a fleet and get your first result.
- Core Concepts — understand what's happening under the hood.