The CLI itself¶
Recipes for people and coding agents who already know the basics of the alis command line and have a goal.
- Sign in and switch accounts: sign in, check who you are, and choose the account your Build usage is measured against.
- Script the CLI with JSON: parse one JSON object per command, read progress from stderr, branch on exit codes.
- Run long operations asynchronously: start with
--async, re-attach withalis operations wait, inspect, cancel. - Work from another directory: use
--cwd, let the CLI resolve context, omit package IDs. - Keep the CLI up to date:
alis upgrade, the TUI's automatic updates, and installing a specific version. - Enable shell completion: bash, zsh, fish and PowerShell.
- Ask questions across your platform: cited answers from your sessions, conversations and skills.
- Diagnose problems:
alis doctor, what each exit code means, and the fix for the common errors.