Skip to content

aix install

Reads ai.json (and ai.local.json), resolves all inheritance, and writes configuration files for supported editors.

This command starts from ai.json. If you want to copy supported config directly from one editor to another, use aix sync instead.

Terminal window
aix install [source] [flags]

If source is provided (git URL, file path), it installs directly from that source without needing a local ai.json.

FlagDescription
--target <editor> / -tLimit installation to specific editors. Repeatable.
--dry-run / -dPreview changes without writing files.
--saveWhen installing a remote source, save it to local ai.json.
--overwriteWith --save, overwrite local config instead of merging.
--cleanRemove the .aix folder before install to ensure a fresh state.
--copyWith --save, copy remote files to .aix/imported/ instead of referencing git URLs.
--lockCreate or refresh ai.lock.json before installing.
--only <field>Limit to specific fields: rules, prompts, mcp, skills.
--scope <scope> / --user (-u) / --project (-p)Override the scope from ai.json (target user-level or project-level config).

Standard install:

Terminal window
aix install

Install only to GitHub Copilot:

Terminal window
aix install --target copilot

Install a remote config directly:

Terminal window
aix install github:company/ai-config

Install remote config and save it to your local ai.json:

Terminal window
aix install github:company/ai-config --save

Install only MCP servers:

Terminal window
aix install --only mcp

Refresh the lockfile, then install:

Terminal window
aix install --lock

--lock with a remote source requires --save, because aix needs a local ai.json to write ai.lock.json beside.

Override scope to install as user-level config:

Terminal window
aix install --scope user
  • aix install is ai.json -> editor
  • aix sync is editor -> aix bridge -> editor

That split matters. install applies your shared config. sync is for migrating or copying existing editor config between supported editors.