# 使用 Homebrew, MacPorts 安装 wifi-password

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

## 安装

```sh
sudo av install brew:wifi-password
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install wifi-password
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install wifi-password
```

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

## 软件包事实

- **软件包键:** brew:wifi-password
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/wifi-password>
- **版本:** 0.1.0
- **来源摘要:** Show the current WiFi network password
- **主页:** <https://github.com/rauchg/wifi-password>
- **仓库:** <https://github.com/rauchg/wifi-password>
- **许可证:** MIT
- **源码归档:** <https://github.com/rauchg/wifi-password/archive/refs/tags/0.1.0.tar.gz>
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- wifi-password (cli)
- wifi-password (别名)

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 all

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 0.1.0
- 本地数据: OK
- 上游仓库: https://github.com/rauchg/wifi-password
- 检测到的最新版本: 0.1.0 (当前)
- 信息: No package-manager update timestamp was available.
## 项目历史与用法

wifi-password is a small macOS shell utility by Guillermo Rauch for answering a common local-support question: what is the password for the Wi-Fi network this machine is using? Its README frames the tool as a quick way to print the current network password, print a named SSID's password, or pipe the result to the macOS clipboard.

### 项目历史

The project's changelog records its initial release as 0.0.1 on February 14, 2015, followed the same day by 0.1.0, which defaulted to quiet output when stdout was piped. The GitHub repository was also created on February 14, 2015, matching the changelog's origin date.

### 采用历史

wifi-password became widely copied for such a tiny script. By July 2026 the upstream GitHub repository had about 4.6k stars and 262 forks, and its README documented installation paths through shell/package ecosystems as well as direct curl installation.

### 使用方式

The typical use is interactive and local: run `wifi-password` for the current SSID, `wifi-password <ssid>` for a named network, or pipe the output into `pbcopy` when sharing credentials. Its niche is not enterprise secret management; it is a convenience wrapper around the local macOS Wi-Fi/keychain workflow.

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

wifi-password is package-nerd notable because it is almost the smallest useful form of a CLI package: a shell script with a memorable executable name, very little release machinery, and a large adoption footprint relative to its code size.

### 时间线

- 2015-02-14: 0.0.1 initial release.
- 2015-02-14: 0.1.0 changed piped output behavior.
- 2026-07: Upstream GitHub repository showed about 4.6k stars and 262 forks.

### 来源

- <https://api.github.com/repos/rauchg/wifi-password - GitHub repository creation and adoption counters>
- <https://github.com/rauchg/wifi-password/blob/master/History.md - upstream changelog>
- <https://github.com/rauchg/wifi-password/blob/master/Readme.md - upstream usage and installation README>


## 安全说明

broad file, network, media, or database tool signal.

- **Geiger 风险:** blue / 中
- broad file, network, media, or database tool signal

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** wifi-password
- **Version Scheme:** 0
- **Revision:** 0
- **Requirements:** macos
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

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

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


## 相关链接

- [Source-control packages](https://pkg.so/zh-hans/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://pkg.so/zh-hans/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [pinentry-mac](https://pkg.so/zh-hans/brew/pinentry-mac/) - Shares pkgdb curated category or tags: cli, macos, security.
- [aircrack-ng](https://pkg.so/zh-hans/brew/aircrack-ng/) - Shares pkgdb curated category or tags: cli, security, wifi.
- [ipsw](https://pkg.so/zh-hans/brew/ipsw/) - Shares pkgdb curated category or tags: cli, macos, security.
- [bettercap](https://pkg.so/zh-hans/brew/bettercap/) - Shares pkgdb curated category or tags: cli, security, wifi.
- [keychain](https://pkg.so/zh-hans/brew/keychain/) - Shares pkgdb curated category or tags: cli, security, shell.
- [hcxtools](https://pkg.so/zh-hans/brew/hcxtools/) - Shares pkgdb curated category or tags: cli, security, wifi.
- [acme.sh](https://pkg.so/zh-hans/brew/acme-sh/) - Shares pkgdb curated category or tags: cli, security, shell.
- [reaver](https://pkg.so/zh-hans/brew/reaver/) - Shares pkgdb curated category or tags: cli, security, wifi.
- [sf-pwgen](https://pkg.so/zh-hans/brew/sf-pwgen/) - Security-sensitive metadata or terminology overlaps. Shared terms: cli, macos, password, passwords, security.
- [password-hash](https://pkg.so/zh-hans/npm/password-hash/) - Security-sensitive metadata or terminology overlaps. Shared terms: cli, password, passwords, security.

## Combined YAML source

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


## 来源

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
