Installation¶
This page covers everything you need to install AAM, verify the installation, configure your environment, and set up shell completions.
System Requirements¶
Before installing AAM, ensure your system meets these requirements:
| Requirement | Minimum Version | Recommended |
|---|---|---|
| Python | 3.11 | 3.12+ |
| pip | 22.0 | Latest |
| Operating System | Linux, macOS, Windows | Any |
Check your Python version:
Python 3.11+ Required
AAM uses modern Python features and requires Python 3.11 or later. If you have an older version, consider using pyenv to install a newer Python alongside your system version.
Install AAM¶
Option 1: Install Globally¶
Install AAM globally with pip:
This makes the aam command available system-wide.
Option 2: Install in a Virtual Environment (Recommended)¶
Using a virtual environment keeps your system Python clean and avoids dependency conflicts:
# Create a virtual environment
python -m venv ~/.aam-venv
# Activate it
source ~/.aam-venv/bin/activate # On macOS/Linux
# Or on Windows:
# .\.aam-venv\Scripts\activate
# Install AAM
pip install aam
Permanent activation
To make the aam command always available, add the activation command to your shell's RC file (.bashrc, .zshrc, etc.), or create an alias:
Option 3: Install from Source¶
For development or to get the latest unreleased features:
git clone https://github.com/spazyCZ/agent-package-manager.git
cd agent-package-manager
pip install -e .
Verify Installation¶
Confirm that AAM is installed and accessible:
Expected output:
If the aam command is not found:
- Ensure your Python scripts directory is on your
PATH - If using a virtual environment, make sure it's activated
- Try
python -m aam --versionas a fallback
Get help on available commands:
First-Time Configuration¶
Set Your Default Platform¶
AAM deploys artifacts to AI platforms like Cursor, Claude, GitHub Copilot, or Codex. Set your default platform so you don't need to specify it on every command:
Supported platforms:
| Platform | Value | Deployment Location |
|---|---|---|
| Cursor | cursor | .cursor/skills/, .cursor/rules/, .cursor/prompts/ |
| Claude | claude | .claude/skills/, CLAUDE.md |
| GitHub Copilot | copilot | .github/copilot-skills/, .github/copilot-instructions.md |
| OpenAI Codex | codex | .codex/skills/ |
You can always override this per-command with --platform:
Set Your Author Name¶
When creating packages, AAM uses your author name in the package metadata:
This information appears in published packages and helps users identify package authors.
View Your Configuration¶
Check all current settings:
Example output:
Set Up a Registry¶
A registry is where AAM stores and discovers packages. The fastest way to get started is with a local file-based registry — no server required.
Create a Local Registry¶
Initialize a new registry directory:
Expected output:
Register it with AAM and set it as the default:
Expected output:
Verify Registry Configuration¶
List all configured registries:
Example output:
Why local registries?
Local registries are:
- Simple — Just a directory with a specific structure
- Fast — No network latency
- Offline — Work without internet
- Version-controllable — Share via Git, NFS, or cloud sync
- No server required — No Docker, no Postgres, no configuration
Connect to a Remote Registry (Optional)¶
If your team has an HTTP registry server:
Then log in with your credentials:
Shell Completion¶
AAM supports tab completion for commands, options, and package names. Enable it for your shell:
After setup, try typing aam and pressing Tab to see available commands.
Example:
Expands to:
Configuration File Locations¶
AAM stores configuration in the following locations:
Global Configuration¶
| OS | Path |
|---|---|
| Linux / macOS | ~/.config/aam/config.yaml |
| Windows | %APPDATA%\aam\config.yaml |
Project Configuration¶
Each project can have its own configuration in:
Project settings override global settings.
Credentials¶
API tokens and login credentials are stored separately:
| OS | Path |
|---|---|
| Linux / macOS | ~/.config/aam/credentials.yaml |
| Windows | %APPDATA%\aam\credentials.yaml |
Keep credentials secure
Never commit credentials.yaml to version control. It contains sensitive API tokens.
Upgrading AAM¶
To upgrade to the latest version:
Check the changelog for breaking changes:
Or visit the GitHub releases page.
Uninstalling AAM¶
To remove AAM:
To also remove configuration and cache:
Troubleshooting¶
Command Not Found¶
If aam is not found after installation:
-
Check Python scripts directory is on PATH:
Add
<output>/binto your PATH. -
Use the module syntax:
-
Reinstall with
--userflag:
Permission Errors¶
If you get permission errors during installation:
Import Errors¶
If you see ModuleNotFoundError after installation:
Next Steps¶
AAM is now installed and configured. Continue with:
- Quick Start — Create, publish, and install your first package in 5 minutes
- Your First Package — Build a complete package with all artifact types
- CLI Reference — Explore all available commands
You're ready!
You've successfully installed AAM, configured your platform, and set up a registry. You're ready to start managing AI agent artifacts!