# 使用 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
- **版本:** 0.1.0
- **来源摘要:** Show the current WiFi network password
- **主页:** <https://github.com/rauchg/wifi-password>
- **仓库:** <https://github.com/rauchg/wifi-password>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- wifi-password (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

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

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

- 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


## 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
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
