Installation
How it works (two layers)
Section titled “How it works (two layers)”AID separates into two install layers:
-
The
aidCLI — a persistent, global command installed once per machine into~/.aid(Unix) or%LOCALAPPDATA%\aid(Windows). It never changes when you add or remove AID from a project. Bootstrap it once with the one-liners in Step 1 below. -
Per-project AID files — the profile trees (
.claude/,.codex/,CLAUDE.md,AGENTS.md, and so on) thataid add <tool>installs into a repo. Each repo tracks what was installed in its own.aid/.aid-manifest.json.
Choose your install channel
Section titled “Choose your install channel”All channels deliver the same aid CLI. The difference is only how aid lands on your PATH.
Pick one channel per machine.
| Channel | Requires | When to use | |---------|----------|-------------| | curl / irm (online bootstrap) | Bash or PowerShell 5.1+ | Most users — Linux, macOS, Windows | | npm | Node >=18 | Node-heavy environments; global install via npm | | PyPI (pipx) | Python >=3.8 | Python environments; isolated install via pipx | | Offline bundle | Bash or PowerShell 5.1+ | Air-gapped machines; teams pinning to a specific release |
If aid is installed via more than one channel, PATH order determines which one runs.
Pick one and remove the others to avoid confusion.
Step 1 — Bootstrap the aid CLI
Section titled “Step 1 — Bootstrap the aid CLI”Run this once per machine. The bootstrap installs the aid command and wires it onto your PATH.
You do not need to be inside a project directory.
curl / irm channel
Section titled “curl / irm channel”curl -fsSL https://raw.githubusercontent.com/AndreVianna/aid-methodology/master/install.sh | bash -s -- --version 1.0.0- Installs to
~/.aid/(override with$AID_HOME). - Adds
~/.aid/binto your PATH via~/.bashrc,~/.zshrc, or~/.bash_profile. - Pass
--no-pathto skip the profile edit and wire PATH yourself.
After bootstrap, open a new shell (or source your profile) to pick up the updated PATH.
curl -fsSL https://raw.githubusercontent.com/AndreVianna/aid-methodology/master/install.sh | bash -s -- --version 1.0.0- Installs to
~/.aid/(override with$AID_HOME). - Adds
~/.aid/binto your PATH via~/.zshrcor~/.bash_profile. - Pass
--no-pathto skip the profile edit and wire PATH yourself.
After bootstrap, open a new shell (or source your profile) to pick up the updated PATH.
$env:AID_VERSION = '1.0.0'irm https://raw.githubusercontent.com/AndreVianna/aid-methodology/master/install.ps1 | iex- Installs to
%LOCALAPPDATA%\aid\(override with$env:AID_HOME). - Adds
%LOCALAPPDATA%\aidto your User PATH (no admin required). - Pass
-NoPathto skip the PATH edit.
After bootstrap, open a new PowerShell session to pick up the updated PATH.
npm channel
Section titled “npm channel”Requires Node >=18.
npm i -g aid-installer@1.0.0Without a global install — invoke once with npx:
npx aid-installer add claude-codeUpdating the aid CLI itself (npm channel):
npm install -g aid-installer@latestOr via aid:
aid update self# Prints: npm install -g aid-installer@latestPyPI channel
Section titled “PyPI channel”Requires Python >=3.8.
pipx install aid-installer==1.0.0pip — use --user to avoid system-level writes:
pip install --user aid-installerpipx is preferred because it isolates the install and avoids dependency conflicts.
Updating the aid CLI itself (PyPI channel):
pipx upgrade aid-installerOr via aid:
aid update self# Prints: pipx upgrade aid-installerOffline / air-gapped install
Section titled “Offline / air-gapped install”For machines without internet access. Download the tarball and SHA256SUMS from the
Releases page, then install with --from-bundle.
-
Download the bundle for your tool.
Terminal window curl -LO https://github.com/AndreVianna/aid-methodology/releases/download/v1.0.0/aid-claude-code-v1.0.0.tar.gzAlso download the checksum file:
Terminal window curl -LO https://github.com/AndreVianna/aid-methodology/releases/download/$(aid version)/SHA256SUMS -
Verify the checksum.
Terminal window sha256sum --check --ignore-missing SHA256SUMSTerminal window shasum -a 256 -c SHA256SUMSTerminal window $expected = (Get-Content SHA256SUMS | Where-Object { $_ -match 'aid-claude-code' }) -split '\s+' | Select-Object -First 1$actual = (Get-FileHash .\aid-claude-code-vX.Y.Z.tar.gz -Algorithm SHA256).Hash.ToLower()if ($expected -ne $actual) { Write-Error "Checksum mismatch"; exit 4 } -
After bootstrapping the CLI (Step 1), add from the bundle.
Terminal window aid add claude-code --from-bundle aid-claude-code-vX.Y.Z.tar.gzFor multiple tools, pass a directory containing the per-tool tarballs (
aid-<tool>-v<version>.tar.gznaming):Terminal window aid add codex,cursor --from-bundle ./bundles/The live per-release asset list (all five tools) is on the Releases page.
Step 2 — Add AID to your project
Section titled “Step 2 — Add AID to your project”After bootstrap, cd into the project repo and use subcommands directly. No re-downloading.
No re-piping.
aid add claude-codeWhat gets installed:
.claude/skills/— skill markdown files.claude/agents/— agent markdown filesCLAUDE.md— project-context file at the project root
aid add codexWhat gets installed:
.codex/agents/— agent TOML files.agents/— agent TOML files (alternate path Codex probes)AGENTS.md— project-context file at the project root
aid add cursorWhat gets installed:
.cursor/rules/— skill and agent.mdcrule filesAGENTS.md— project-context file at the project root
aid add copilot-cliWhat gets installed:
.github/copilot-agents/— agent.agent.mdfilesAGENTS.md— project-context file at the project root
aid add antigravityWhat gets installed:
.agent/— skill and agent files withtrigger:frontmatterAGENTS.md— project-context file at the project root
Check the install:
aid statusInstall multiple tools at once:
aid add codex,cursorPin to a specific version:
aid add claude-code --version X.Y.ZWithout --version, the installer resolves the latest GitHub Release.
One-line first install
Section titled “One-line first install”Bootstrap the CLI and add a tool to the current project in a single command:
curl -fsSL https://raw.githubusercontent.com/AndreVianna/aid-methodology/master/install.sh | bash -s -- add claude-codecurl -fsSL https://raw.githubusercontent.com/AndreVianna/aid-methodology/master/install.sh | bash -s -- add claude-code$env:AID_TOOL = 'claude-code'irm https://raw.githubusercontent.com/AndreVianna/aid-methodology/master/install.ps1 | iexUpdate
Section titled “Update”Update installed tools
Section titled “Update installed tools”# Update all installed tools to latestaid update
# Update a specific toolaid update claude-code
# Update to a pinned versionaid update --version X.Y.ZUpdate the aid CLI itself
Section titled “Update the aid CLI itself”aid update selfThe command is channel-aware: it detects how aid was installed and prints the correct
upgrade instruction.
| Install channel | What aid update self does |
|----------------|------------------------------|
| curl / irm bootstrap | Re-runs the bootstrap script to fetch and install the latest CLI |
| npm | Prints: npm install -g aid-installer@latest |
| PyPI / pipx | Prints: pipx upgrade aid-installer |
Remove
Section titled “Remove”Remove a specific tool from a project
Section titled “Remove a specific tool from a project”aid remove claude-codeRemove all AID from a project
Section titled “Remove all AID from a project”aid removePrompts for confirmation. Pass --force to skip the prompt. Uninstall is manifest-driven:
only files that aid add wrote are removed. Files you created or modified yourself are
left in place.
Remove the global aid CLI itself
Section titled “Remove the global aid CLI itself”aid remove selfPrompts for confirmation before removing ~/.aid (or %LOCALAPPDATA%\aid) and the PATH
wiring block. Does not touch per-project AID installs — run aid remove inside each project
first if you want to clean those up too.
Next steps
Section titled “Next steps”Your first work
CLI Reference