System Requirements
Before installing the CLI, make sure the following are installed on your machine:- Node.js 18 or later
- npm (included with Node.js)
- Git — the CLI relies on Git (for example, for change detection in
aui pushandaui diff), so it must be installed and available on yourPATH
Both Node.js and Git are required. Install them first —
npm install -g aui-agent-builder needs Node.js/npm, and the CLI will not function correctly without Git available.Install
Already installed? Update to the latest version at any time with
aui upgrade.Authentication
Authenticate with the--environment option:
Session credentials are stored in
~/.aui/session.json. They persist across terminal sessions.Post-Login Setup
1
Verify your session
2
Set your environment
~/.aui/environment.3
Create or import an agent
Imported an agent that lives in a different organization than your login default? Run
aui sync-session to re-scope your session to the project’s .auirc so every command works. The CLI also runs this reconciliation automatically before most commands.Uninstall
Next Steps
Command Reference
Full reference for all CLI commands.
Configuration
Project structure, config files, and environment variables.