macOS
brew install iproute2maclocal Homebrew formula metadata
sudo port install iproute2macMacPorts ports tree · net/iproute2mac/Portfile · 来源: api.github.com
安装
brew install iproute2maclocal Homebrew formula metadata
sudo port install iproute2macMacPorts ports tree · net/iproute2mac/Portfile · 来源: api.github.com
nix profile install nixpkgs#iproute2macnixpkgs package indexes · pkgs/by-name/ip/iproute2mac/package.nix · 来源: api.github.com
sudo apk add bridgeAlpine Linux edge package indexes · bridge · 来源: dl-cdn.alpinelinux.org
winget install --id Geomitron.Bridge -eWindows Package Manager source index · Geomitron.Bridge · 来源: cdn.winget.microsoft.com
概览
CLI wrapper for basic network utilities on macOS - ip command
历史
iproute2mac is a macOS command-line compatibility wrapper that provides ip, bridge, and ss commands inspired by Linux iproute2 for administrators who move between Linux and macOS.
The project README describes a deliberately limited wrapper for basic macOS network utilities, not a complete reimplementation of Linux iproute2. Its goal is to make routine macOS network configuration and debugging easier for administrators already fluent in Linux-style ip commands.
The changelog shows an incremental compatibility project: early 1.0.x releases fixed ip address and neighbor handling; v1.1.0 added ip route get source-address output and marked acceptance into Homebrew master; v1.3.0 migrated to Python 3; v1.5.0 added JSON output and bridge; and v1.7.0 added ss plus brief/oneline output options.
iproute2mac found its audience in the macOS admin and developer niche where muscle memory from Linux is valuable but macOS networking remains built on ifconfig, netstat, route, ndp, arp, and networksetup. The README explicitly sends advanced users back to those native tools for deeper work.
Distribution through Homebrew is part of the project's identity: the README lists Homebrew as the preferred installation path and notes the formula is maintained by the project author. It also documents MacPorts and NixOS packaging.
The command set covers common inspection and light configuration tasks: ip link, ip addr, ip route, ip neigh, bridge link, and ss, with selected support for JSON, color, brief, and oneline output. Its value is ergonomic consistency, not total kernel feature parity.
Because macOS lacks Linux netlink and tc semantics, iproute2mac translates familiar syntax onto native macOS tools and data sources. The README warns that functionality and output compatibility are limited, which is the right contract for a portability shim.
iproute2mac is interesting because it packages muscle memory. It is a small Python wrapper that turns a platform mismatch into a command-line convenience, while keeping the boundary visible enough that serious macOS networking work still goes through native tools.
安全态势
broad file, network, media, or database tool signal.
blue 风险 · 中 置信度 · tool
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
bridge | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
ip | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
ss | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:iproute2mac |
|---|---|
| 版本 | 1.7.4 |
| 软件包管理器 | Homebrew |
| 主页 | https://github.com/brona/iproute2mac |
| 仓库 | https://github.com/brona/iproute2mac |
| Bottle | 未记录 |
| 服务 | 未声明 |
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
iproute2mac
nix profile install nixpkgs#iproute2maciproute2mac
sudo port install iproute2macbridge 1.5-r5
Scripts for configuring network bridge interfaces
https://wiki.alpinelinux.org/wiki/Bridge
sudo apk add bridgeGeomitron.Bridge
winget install --id Geomitron.Bridge -e来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.