Abacus AI CLI Installation
The Abacus AI CLI brings the full power of the AI coding agent directly into your favorite terminal.
Installation​
- macOS / Linux / WSL
- Windows PowerShell
- Windows CMD
- npm
curl -fsSL https://static.abacus.ai/cli/install.sh | bash
Works on macOS (Intel & Apple Silicon), Linux (Ubuntu, Debian, Fedora, Arch, etc.), and WSL.
irm https://static.abacus.ai/cli/install.ps1 | iex
curl -fsSL https://static.abacus.ai/cli/install.cmd -o install.cmd && install.cmd && del install.cmd
npm install -g @abacus-ai/cli
Requires Node.js v18 or higher.
tip
After installation, restart your terminal to ensure the abacusai command is available on your PATH.
Getting Started​
Launch the Abacus AI CLI:
abacusai
Log in on first use:
/login [email]
Setting Your API Key​
You can also authenticate by setting your API key as an environment variable:
- macOS / Linux
- Windows PowerShell
- Windows CMD
export ABACUS_API_KEY=YOUR_API_KEY_HERE
$env:ABACUS_API_KEY="YOUR_API_KEY_HERE"
set ABACUS_API_KEY=YOUR_API_KEY_HERE
Verifying the Installation​
abacusai --help
For more on features and usage, see the Abacus AI Desktop introduction.