Create and manage APM (Agent Package Manager) projects — manifest authoring, dependency management, compilation, packaging, and distribution of AI agent configuration. Use when: initializing apm.yml, adding APM or MCP dependencies, compiling AGENTS.md/CLAUDE.md, building portable bundles, publishing packages, or auditing supply chain security.
apm init)apm.yml manifestsAGENTS.md or CLAUDE.mdWindows (PowerShell):
irm https://aka.ms/apm-windows | iex
macOS / Linux:
curl -sSL https://aka.ms/apm-unix | sh
Alternative installs:
# Homebrew (macOS/Linux)
brew install microsoft/apm/apm
# Scoop (Windows)
scoop bucket add apm https://github.com/microsoft/scoop-apm
scoop install apm
# pip (requires Python 3.10+)
pip install apm-cli
Verify:
apm --version
Create a new project or initialize inside an existing repo:
# New directory
apm init my-project && cd my-project
# Existing repo (interactive)
apm init
# Non-interactive with auto-detected defaults
apm init --yes
# Plugin authoring project
apm init my-plugin --plugin
This creates apm.yml — the dependency manifest for AI agent configuration: