Skip to content

CLI overview

The aix CLI is your primary tool for managing AI agent configurations. It follows a syntax similar to npm.

These flags are available on all commands:

FlagDescription
--config <path> / -cPath to ai.json (defaults to current dir). Can also be set via $AI_JSON_CONFIG.
--quiet / -qSuppress non-essential output.
--jsonOutput results as JSON.
  • Core: init, install, sync, validate
  • Management: add, remove, list
  • Discovery: search
  • Config: config get, config set, config show
  • System: cache, backups, global

init --from and sync sound similar, but they solve different problems:

  • aix init --from <editor> reads an editor and writes a new ai.json.
  • aix sync <from> --to <to> reads one editor and writes the supported equivalent into the destination editor.
  • aix install reads ai.json and applies it to one or more editors.
CommandAlias
installi
listls
cache clearcache clean
  • AI_JSON_CONFIG: Override the default ai.json path.
  • AIX_LOG_LEVEL: Set detailed logging (debug, info, warn, error).