Install MangoApps CLI
Get up and running in under a minute.
Choose your platform
curl -fsSL https://workforce.mangoapps.com/cli/install.sh | bash
irm https://workforce.mangoapps.com/cli/install.ps1 | iex
npm install -g @mangoapps/cli
Quick Start
Authenticate
Run <code>mango login</code> — your browser opens for secure login. Supports SSO, Google, and 2FA.<br><br>For CI/CD: <code>mango login --token YOUR_API_TOKEN</code>
Verify
Run <code>mango status</code> to confirm you are connected.<br><br><pre>MangoApps CLI v0.1.0\n Business: OfficeChat\n Server: Online (200 OK, 45ms)\n Token: Valid</pre>
Start Chatting
Run <code>mango chat</code> to enter the AI assistant. Ask anything about your workspace — shifts, leave, attendance, passwords, and 475+ more tools.
Explore
Run <code>mango --help</code> to see all available commands. Try <code>mango users list</code>, <code>mango tools list</code>, or <code>mango ask "who is on shift today?"</code>
Requirements
Node.js 20+
Required for npm install method. The standalone binary includes Node.js.
MangoApps Account
You need an active MangoApps Workforce account to authenticate.
Anthropic API Key
Required for AI chat features. Set via ANTHROPIC_API_KEY environment variable.