# 使用 Homebrew, Nix 安装 spoof-mac

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

## 安装

```sh
sudo av install brew:spoof-mac
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install spoof-mac
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#spoof-mac
```

  证据: nixpkgs package indexes: pkgs/by-name/sp/spoof-mac/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:spoof-mac
- **软件包管理器:** Homebrew
- **版本:** 2.1.1
- **来源摘要:** Spoof your MAC address in macOS
- **主页:** <https://feross.org/spoofmac/>
- **仓库:** <https://github.com/feross/SpoofMAC>
- **最后更新:** 2026-06-15T10:21:20-04:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- spoof-mac (别名)
- spoof-mac.py (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

SpoofMAC is a small Python command-line utility for changing a network interface MAC address, originally centered on making the macOS workflow less tedious and later extended to Windows and Linux.

### 项目历史

The project README says it was created because changing a MAC address on Mac OS X was harder than it should be, especially because the Wi-Fi interface needed to be disassociated before the new address would apply. The public GitHub repository was created in 2011 and the README changelog records an original 0.0.0 version, a later rewrite to conform to PEP 8, Windows and Linux support in 1.2.0, and Python 3 support in 2.0.0.

### 采用历史

SpoofMAC entered package-manager culture as a quick installable CLI for a task often otherwise done with platform-specific network commands. The input records Homebrew and Nix packaging, and the upstream README also documents PyPI installation with pip or easy_install.

### 使用方式

Typical use is interactive terminal administration: list interfaces, randomize an interface address, set a specific address, or try to reset an interface back to its original address. The README also documents an optional launchd setup for macOS users who want a spoofed address applied at startup.

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

Package maintainers care about SpoofMAC because it wraps divergent macOS, Linux, and Windows network behavior behind one executable. It is the kind of tiny system utility that benefits from package-manager delivery: users want it in PATH, with Python dependencies and executable names handled for them.

### 时间线

- 2011: GitHub repository created.
- 1.2.0: Windows and Linux support added.
- 2.0.0: Python 3 support added.
- 2018: Last recorded repository push in GitHub metadata.

### Related projects

- The SpoofMAC README points to `spoof`, a Node.js port, as a related project.

### 来源

- <https://api.github.com/repos/feross/SpoofMAC: official repository metadata including creation date and popularity signals.>
- <https://github.com/feross/SpoofMAC README: motivation, install, usage, changelog, related port.>
- input.source_facts.package-manager: Homebrew and Nix package-manager presence.


## 安全说明

formula declares a Homebrew service.

- **Geiger 风险:** orange / 中
- formula declares a Homebrew service

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

- Nix - spoof-mac: normalized package name match | nixpkgs package indexes: pkgs/by-name/sp/spoof-mac/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/spoof-mac.yml](https://github.com/mxcl/pkgdb/blob/main/combined/spoof-mac.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
