# 使用 Homebrew, scoop, winget 安装 apm

查看 apm 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:apm
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install apm
```

  证据: local Homebrew formula metadata

### Windows

- Scoop (92%):

```sh
scoop install main/apm
```

  证据: Scoop official bucket manifest trees: bucket/apm.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

- winget (92%):

```sh
winget install --id Microsoft.APM -e
```

  证据: Windows Package Manager source index: Microsoft.APM from https://cdn.winget.microsoft.com/cache/source.msix

## 软件包事实

- **软件包键:** brew:apm
- **软件包管理器:** Homebrew
- **版本:** 0.26.0
- **来源摘要:** Dependency manager for AI agent configuration
- **主页:** <https://microsoft.github.io/apm/>
- **仓库:** <https://github.com/microsoft/apm>
- **最后更新:** 2026-07-25T09:54:32Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- apm (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 0.26.0
## 项目历史与用法

APM, the Agent Package Manager, is a dependency manager for AI-agent context. It gives skills, prompts, instructions, plugins, and MCP servers a project manifest and lockfile workflow analogous to established language package managers.

### 项目历史

Microsoft's public repository was created in September 2025 and published v0.4.0 that month. The project describes itself as open source and community driven, and credits Daniel Meppiel as creator with Daniel Meppiel and Sergio Sisternes as maintainers.

### 采用历史

The official documentation targets GitHub Copilot, Claude Code, Cursor, OpenCode, Codex, Gemini, Windsurf, and Kiro. The supplied package metadata records distribution through Homebrew, Scoop, and WinGet, while the official README also documents platform installers and pip.

### 使用方式

A project declares agent dependencies in a repository-root apm.yml. Running apm install resolves those dependencies and produces a lockfile so collaborators and CI can reproduce the same agent context; additional commands cover compilation, packaging, auditing, marketplaces, and policy enforcement.

### 为什么软件包爱好者会关心

APM applies familiar manifest, lockfile, transitive-resolution, integrity, and policy concepts to agent configuration, an ecosystem that has otherwise relied heavily on manually copied files. Its cross-harness targeting and multiple installation channels make it notable as an attempt to turn agent context into a conventional package-management domain.

### 时间线

- 2025-09: Public GitHub repository created and v0.4.0 published.
- 2026-07: v0.26.0 published.

### Related projects

- The official project relates its workflow to npm, pip, and Cargo and builds on AGENTS.md, Agent Skills, and the Model Context Protocol. The companion microsoft/apm-action project brings installation and bundle restoration into GitHub Actions.

### 来源

- <https://api.github.com/repos/microsoft/apm — official GitHub repository metadata and creation date.>
- <https://api.github.com/repos/microsoft/apm/releases?per_page=100 — official GitHub release history.>
- <https://github.com/microsoft/apm — official README, project purpose, maintainers, supported agent harnesses, installation methods, and usage.>
- <https://microsoft.github.io/apm/ — official documentation for the manifest, lockfile, installation, security, and policy model.>
- input source_facts.package-manager — supplied Homebrew, Scoop, and WinGet package records.


## 安全说明

没有找到 apm 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。



## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: ./apm.yml, ~/.apm/apm.yml, ~/.apm/config.json

## Credential files

- Unix: ~/.apm/config.json
## 其他软件包管理器记录

- Scoop - main/apm: normalized package name match | Scoop official bucket manifest trees: bucket/apm.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- winget - Microsoft.APM: normalized package name match | Windows Package Manager source index: Microsoft.APM from https://cdn.winget.microsoft.com/cache/source.msix
- winget - Orthogonal.APM: normalized package name match | Windows Package Manager source index: Orthogonal.APM from https://cdn.winget.microsoft.com/cache/source.msix


## Combined YAML source

View the package source record on GitHub. [combined/apm.yml](https://github.com/mxcl/pkgdb/blob/main/combined/apm.yml)


## 来源

- pkg.so package database
- curated configuration and credential file locations
- curated package history
- external package-manager database matches
- cross-ecosystem install command graph
