Skip to content

Reference

This section is the authoritative reference for APM. If you’re learning APM, start in the consumer ramp or producer ramp instead — the reference assumes you know what you’re looking for.

Per-command pages live under reference/cli/. Grouped by lifecycle phase:

PhaseCommands
Project setupinit, auth, install, lock, update, uninstall
Inspect and auditview, deps, outdated, list, find, audit, doctor
Compile and integratecompile, prune, targets, runtime
Cache and configcache, config
Run scriptsrun
Author and distributepack, unpack, preview, plugin, publish, export-patch, lifecycle, marketplace, search, self-update
Governanceapprove, deny, policy, mcp
Experimentalexperimental

Deprecated surfaces still work. Each row names the replacement, the release that deprecated it, and the removal version its warning announces. “Not scheduled” means no removal version is set. A removal version older than your APM still works: that horizon passed without a removal.

DeprecatedUse insteadDeprecated sinceRemovalHow APM tells you
apm config key auto-integrateNone (it has no effect); remove itv0.37.0not scheduledWarning
vscode target aliascopilotv0.37.0not scheduledWarning
Singular target: in apm.ymltargets: (the warning prints the exact value)v0.37.0not scheduledWarning
compilation.target in apm.ymlNone (ignored); delete itv0.37.0not scheduledWarning
all in apm.yml targets:Omit the fieldunknownnot scheduledWarning
apm compile --target allapm compile --allunknownnot scheduledWarning
allowExecutables: in apm.ymlexecutables.allow (migrated by apm approve/apm deny)v0.22.0not scheduledWarning
bin_deploy: in apm-policy.ymlexecutables (deny_all/deny)v0.22.0not scheduledWarning
apm pack --targetNone (bundles are target-agnostic)unknownnot scheduledWarning
apm unpackapm install <bundle-path>unknownnot scheduledWarning
apm deps updateapm updatev0.17.0not scheduledWarning
apm update outside an apm.yml projectapm self-updatev0.13.0not scheduledWarning
apm update --checkapm update --dry-run or apm self-update --checkunknownnot scheduledWarning
Standalone marketplace.ymlmarketplace: block in apm.yml (apm marketplace migrate)v0.11.0not scheduledWarning
List or string form of marketplace.outputsMap form (outputs: {claude: {}})v0.14.0not scheduledWarning
--target agents--target copilot or --target agent-skillsv0.12.0v1.0Warning
<VAR> placeholders in MCP server config${VAR}unknownv1.0Warning
Python API SimpleRegistryClient.get_server_info()SimpleRegistryClient.get_server()v0.14.0not scheduledPython DeprecationWarning (hidden by default)
ARTIFACTORY_BASE_URLPROXY_REGISTRY_URLv0.8.12not scheduledPython DeprecationWarning (hidden by default)
ARTIFACTORY_APM_TOKENPROXY_REGISTRY_TOKENunknownnot scheduledPython DeprecationWarning (hidden by default)
ARTIFACTORY_ONLYPROXY_REGISTRY_ONLYunknownnot scheduledPython DeprecationWarning (hidden by default)

Deprecated without a warning today:

DeprecatedUse insteadKind
apm install --updateapm update (or apm update --yes in CI)flag
apm marketplace add --branch--refflag
User approvals.yml storeexecutables in the user config.json (migrated on first read)file
PolicyBlockErrorPolicyViolationErrorpython-api
get_lockfile_installed_paths()LockFile.installed_paths_for_project()python-api
HookIntegrator.integrate_package_hooks_{claude,cursor,codex}()HookIntegrator.integrate_hooks_for_target()python-api
CommandIntegrator.sync_integration(), .sync_integration_opencode()sync_for_target()python-api
AgentIntegrator.sync_integration_{cursor,opencode}()sync_for_target()python-api
InstructionIntegrator.sync_integration_{cursor,claude}()sync_for_target()python-api
InstallLogger.download_complete(ref_suffix=)ref= and sha=python-api
render_marketplace_yml_template()render_marketplace_block()python-api
DocWhat it specifies
Manifest schemaEvery field in apm.yml
Lockfile specapm.lock.yaml schema, semantics, and integrity contract
Policy schemaapm-policy.yml rules, merge semantics, severity
Registry HTTP APIWire contract for APM registry servers: endpoints, auth, errors
Targets matrixWhich primitive types each target (Copilot, Claude, …) supports
MCP variable compatibilityHow each harness reads env references in MCP config, and what APM writes
Baseline checksThe CI checks apm audit --ci runs
Environment variablesEvery env var APM reads, with precedence
Primitive typesSkill, prompt, instruction, agent, hook, command
Package typesAPM packages, plugins, marketplaces
ExamplesWorked end-to-end examples
ExperimentalSurface area still subject to change
Common errorsSymptoms, causes, and fixes for frequently reported errors
  • <placeholder> — you must substitute a real value.
  • [optional] — argument or flag is optional.
  • All commands assume apm is on PATH; install instructions are in the Quickstart.
  • Status symbols in CLI output: [+] success, [!] warning, [x] error, [i] info, [*] action, [>] running.

Copyright (c) Microsoft Corporation. General documentation: CC-BY-4.0. Software, code examples and OpenAPM: Apache-2.0. See scope and exclusions.