Install MangoApps CLI
One command installs the CLI on macOS, Linux, or Windows. Run mango login, then ask about shifts, leave, or policies straight from your terminal — 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 mango login — your browser opens for secure login. Supports SSO, Google, and 2FA.
For CI/CD: mango login --token YOUR_API_TOKEN
Verify
Run mango status to confirm you are connected.
MangoApps CLI v0.1.0\n Business: OfficeChat\n Server: Online (200 OK, 45ms)\n Token: Valid
Start Chatting
Run mango chat to enter the AI assistant. Ask anything about your workspace — shifts, leave, attendance, policies, and every workforce tool.
Explore
Run mango --help to see all available commands. Try mango users list, mango tools list, or mango ask "who is on shift today?"
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.