# 使用 Homebrew, MacPorts 安装 pidof

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

## 安装

```sh
sudo av install brew:pidof
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install pidof
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install pidof
```

  证据: MacPorts ports tree: sysutils/pidof/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:pidof
- **软件包管理器:** Homebrew
- **版本:** 0.1.4
- **来源摘要:** Display the PID number for a given process name
- **主页:** <https://web.archive.org/web/20240808152721/http://www.nightproductions.net/cli.htm>
- **上游文档:** <https://web.archive.org/web/20240808152721/http://www.nightproductions.net/cli.htm>
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- pidof (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 0.1.4

## 安全说明

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


## 其他软件包管理器记录

- MacPorts - pidof: normalized package name match | MacPorts ports tree: sysutils/pidof/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## 相关链接

- [Homebrew utility packages](https://pkg.so/zh-hans/brew-utility-packages/) - Matched curated package taxonomy and local package facts.
- [find-process](https://pkg.so/zh-hans/npm/find-process/) - Local package facts share a topical domain. Shared terms: name, pid, process.
- [detach](https://pkg.so/zh-hans/brew/detach/) - Local package facts share a topical domain. Shared terms: given, process.

## 来源

- pkg.so package database
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
