Skip to main content Switch to mobile version code-aide 1.21.2 Manage AI coding CLI tools (Claude, Antigravity, Copilot, Cursor, Gemini, Amp, Codex)
pip install code-aide==1.21.2 Copy PIP instructions
An aide for your AI coding tools.
Manages installation, upgrade, removal, and version tracking of AI coding CLI tools: Claude Code, Antigravity, Copilot, Cursor, Gemini, Amp, Codex, OpenCode, Kilo, and T3 Code.
# Run without installing (requires uv) uvx code-aide status # Install persistently uv tool install code-aide # Or use pipx pipx install code-aide Usage
# Show compact one-line-per-tool status (default when no command is given) code-aide # List available tools and their status code-aide list # Show compact one-line-per-tool status code-aide status # Show detailed status for installed tools code-aide status -l # Install specific tools code-aide install claude antigravity # Install all default tools code-aide install # Install with automatic prerequisite installation (Node.js, npm) code-aide install -p # Verify checksums and show what would be installed, without installing code-aide install -n # Upgrade installed tools (no args = only out-of-date tools) code-aide upgrade [NAMES] # Remove tools (prompts before removing all managed tools) code-aide remove [NAMES] # Preview a removal without changing anything code-aide remove -n # Remove all managed tools without prompting code-aide remove -y # Remove stale version directories of direct-download tools code-aide clean [NAMES] # Check upstream for latest versions (dry-run) code-aide update-versions -n # Update version cache code-aide update-versions -y Supported Tools
Command aliases are also accepted: agy resolves to antigravity, agent to cursor, and t3 to t3code.
T3 Code installs the t3 command from the GitHub release tarball, verified against the release's SHA256SUMS, into ~/.t3/runtime/versions/ (the same layout as the upstream installer). There is no t3 command for Intel Macs; use the desktop app there (brew install --cask t3-code). code-aide never restarts the t3 background service; after the CLI changes version it reminds you to run t3 service restart. A t3 command provided by the desktop app is reported as a Homebrew cask install when the t3-code cask owns the app.
On macOS, t3code-app installs the T3 Code desktop app. Each release's signed zip is checked against the SHA-512 in the release's latest-mac.yml, unpacked into ~/.local/opt/t3code-app/v /, and activated by pointing ~/Applications/T3 Code.app at it. The CLI and the app upgrade together: upgrading either one also upgrades the other if it is installed, so both run the same release. If the app is running, code-aide offers to quit it before switching versions; if it stays running, neither is upgraded. status warns when the two versions differ.
code-aide uses a two-layer version data model:
Bundled tool definitions (in data/tools.json): Install methods, URLs, npm packages, version args, and SHA256 checksums. Updated by releasing new versions of code-aide.
User's local version cache (~/.config/code-aide/versions.json): Written by code-aide update-versions. Provides latest versions, dates, updated SHA256 checksums, and recorded tarball checksums for direct_download tools.
Run code-aide update-versions to get the latest version data without waiting for a new code-aide release.
Tool definition schema (data/tools.json)
Each entry in tools.json describes one managed tool. Required fields are name, command, and install_type; the others are optional and only consulted when the relevant install method or platform applies.
Zero external dependencies (Python stdlib only)
SHA256 verification for script-based installations
Automatic prerequisite detection and installation (Node.js, npm)
Detects install method (Homebrew, npm, system package, script, direct download)
PATH configuration validation and warnings
Tool definitions are bundled at src/code_aide/data/tools.json.
The version cache lives at ~/.config/code-aide/versions.json by default; set XDG_CONFIG_HOME to relocate the code-aide config directory.
Color output honors NO_COLOR, FORCE_COLOR, CLICOLOR_FORCE, CLICOLOR=0, and TERM=dumb, in that priority order; color is disabled when stdout is not a terminal.
No external Python dependencies
Install uv: curl -LsSf https://astral.sh/uv/install.sh | sh
Install dependencies: uv sync
Install pre-commit hooks: uv tool install pre-commit && pre-commit install
Run tests: uv run pytest tests/ -v
# Run from development checkout uv run python -m code_aide status uv run python -m code_aide install copilot # Run a specific test uv run pytest tests/test_install.py::TestDetectOsArch -v Release
publish.yml publishes to PyPI when a Git tag matching v* is pushed.
Update the version string in src/code_aide/__init__.py (__version__). pyproject.toml reads it automatically via Hatchling.
Run checks: uv run pytest tests/ -v
Commit the release version bump: git add src/code_aide/__init__.py
git commit -m "Bumped version to X.Y.Z"
Write useful commit messages before tagging: Start subject lines with an action verb in past tense (Added, Changed, Fixed, Removed).
Keep subjects user-facing so auto-generated release notes are meaningful.
Group related changes into focused commits instead of one broad commit.
Example: Fixed timeout handling in status command
Tag and push to all remotes (origin/GitHub, gitlab, codeberg): git tag vX.Y.Z
git push origin main && git push origin vX.Y.Z
git push gitlab main && git push gitlab vX.Y.Z
git push codeberg main && git push codeberg vX.Y.Z
Confirm GitHub Actions: CI should pass.
Publish workflow should upload to PyPI and create GitHub Release notes.
Release notes should include generated notes plus a commit summary from the previous tag to the current tag.
macOS quarantine during installation
After successful installs and upgrades, code-aide removes the com.apple.quarantine attribute from the installed npm package (including nested native helpers), direct-download directory, or verified app bundle. Script installs clear their configured artifact paths and resolved command. Homebrew upgrades clear the selected formula or cask directory. Symlinks inside these directories are not followed into other installations.
This addresses Gatekeeper prompts that can block unattended use, including Codex's codex-code-mode-host helper and the resulting "timed out negotiating with the code-mode host" error when quarantine is the cause. Helpers do not need to be on PATH. Other causes of that timeout are unaffected.
Cleanup preserves other extended attributes and does not change system-wide Gatekeeper settings. It runs without sudo; permission failures are reported as install or upgrade failures, leaving the installed files in place. Dry runs and non-macOS hosts do not change extended attributes. Existing installs can be processed with code-aide install --force TOOL or code-aide upgrade TOOL. Updates performed independently by a tool's own updater are outside this step.
npm download cache lifetime
Standalone install, upgrade, removal (including migration), and installation scripts use private download caches under ~/.cache/code-aide/npm-operations/operation-*. Each invocation gets its own directory on the home filesystem instead of the temporary filesystem. npm authentication, user configuration and install prefixes remain in effect; only the download-cache setting is overridden in the child environment.
Downloads and npm logs in that directory are removed after success, failure, timeouts supported by the command runner, and normal Python interruption. Captured command errors are still reported. Existing user caches are preserved. Dry runs create no operation cache. Concurrent operations never clean another operation's cache. A hard kill or machine crash can leave an operation directory; inspect it and establish that its operation has stopped before explicitly removing it. There is no automatic age-based cleanup of these directories.
Both files in this release have provenance metadata.
Apache-2.0 View SPDX License List
Development Status 5 - Production/Stable
Intended Audience Developers
License OSI Approved :: Apache Software License
Programming Language Python :: 3
Topic Software Development :: Build Tools
System :: Installation/Setup
Release files for code-aide 1.21.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
Built distribution (wheel)
Total release size: 238.0 kB
Release files / code_aide-1.21.2.tar.gz
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 28, 2026.
Release files / code_aide-1.21.2-py3-none-any.whl
Security for code-aide 1.21.2
Both files in this release have been uploaded with provenance metadata.
With provenance code_aide-1.21.2.tar.gz Nov 28, 2026
With provenance code_aide-1.21.2-py3-none-any.whl Nov 28, 2026
Attestation for code_aide-1.21.2.tar.gz
Attestation for code_aide-1.21.2-py3-none-any.whl
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.
Release history Release notifications | RSS feed
Nov 28, 2026 2 release files Full provenance
Nov 21, 2026 2 release files Full provenance
Nov 11, 2026 2 release files Full provenance
Nov 7, 2026 2 release files Full provenance
Oct 25, 2026 2 release files Full provenance
Oct 22, 2026 2 release files Full provenance
Oct 16, 2026 2 release files Full provenance
Oct 1, 2026 2 release files Full provenance
Sep 15, 2026 2 release files Full provenance
Sep 13, 2026 2 release files Full provenance
Aug 30, 2026 2 release files Full provenance
Aug 29, 2026 2 release files Full provenance
Aug 28, 2026 2 release files Full provenance
Jul 26, 2026 2 release files Full provenance
Jul 12, 2026 2 release files Full provenance
Jul 11, 2026 2 release files Full provenance
Jul 2, 2026 2 release files Full provenance
Jun 13, 2026 2 release files Full provenance
Jun 9, 2026 2 release files Full provenance
May 2, 2026 2 release files Full provenance
Apr 23, 2026 2 release files Full provenance
Apr 17, 2026 2 release files Full provenance
Apr 15, 2026 2 release files Full provenance
Apr 3, 2026 2 release files Full provenance
Mar 24, 2026 2 release files Full provenance
Mar 22, 2026 2 release files Full provenance
Mar 11, 2026 2 release files Full provenance
Mar 8, 2026 2 release files Full provenance
Mar 5, 2026 2 release files Full provenance
Mar 2, 2026 2 release files Full provenance
Mar 1, 2026 2 release files Full provenance
Feb 28, 2026 2 release files Full provenance
"PyPI", "Python Package Index", and the blocks logos are registered trademarks of the Python Software Foundation.
© 2026 Python Software Foundation




