pkg.soopen package index

brew / 排名 1057

使用 Homebrew, MacPorts, Nix, apk, winget 安装 iproute2mac

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install iproute2mac

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install iproute2mac

MacPorts ports tree · net/iproute2mac/Portfile · 来源: api.github.com

Linux

Nix已验证 · 92%
nix profile install nixpkgs#iproute2mac

nixpkgs package indexes · pkgs/by-name/ip/iproute2mac/package.nix · 来源: api.github.com

Alpine Linux apk已验证 · 92%
sudo apk add bridge

Alpine Linux edge package indexes · bridge · 来源: dl-cdn.alpinelinux.org

Windows

Windows Package Manager已验证 · 92%
winget install --id Geomitron.Bridge -e

Windows Package Manager source index · Geomitron.Bridge · 来源: cdn.winget.microsoft.com

概览

软件包摘要

CLI wrapper for basic network utilities on macOS - ip command

命令和别名

  • bridge
  • ip
  • ss

历史

项目历史与用法

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.

时间线

  • v1.0.x: Early releases fix ip addr, ip neigh, help, and versioning behavior.
  • v1.1.0: Project is accepted into Homebrew master and no longer requires a tap.
  • v1.3.0: Codebase migrates to Python 3.
  • v1.5.0: JSON output and bridge command support are added.
  • v1.7.0: ss command and brief/oneline output options are added.

Related projects

  • Linux iproute2 is the direct inspiration and compatibility target.
  • macOS ifconfig, netstat, ndp, arp, route, and networksetup are the native tools beneath or beside the wrapper.
  • MacPorts and NixOS provide alternate package-manager routes alongside Homebrew.

来源

  • Homebrew formula metadata supplies package-manager presence, formula description, macOS requirement, and adoption signals.
  • The GitHub README supplies project goal, limitations, command coverage, installation paths, changelog, and related native macOS tools.

安全态势

风险级别:blue

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

风险分类器

blue 风险 · 中 置信度 · tool

原因

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

信号

  • text:network

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 1 个平台目标。
  • 安装时包含 1 个运行时依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
bridgecli全局可执行文件
ipcli全局可执行文件
sscli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-08-04
管理器版本1.7.4
管理器更新时间
本地数据OK
上游not checked
检测到的最新版本未检测到

https://github.com/brona/iproute2mac

安装元数据

软件包元数据

软件包键brew:iproute2mac
版本1.7.4
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/iproute2mac
主页https://github.com/brona/iproute2mac
仓库https://github.com/brona/iproute2mac
许可证MIT
源码归档https://github.com/brona/iproute2mac/releases/download/v1.7.4/iproute2mac-1.7.4.tar.gz
依赖python@3.14
Bottle可用 (于 all)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameiproute2mac
Version Scheme0
Revision0
Requirements
  • macos
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Nix95%

iproute2mac

nix profile install nixpkgs#iproute2mac
  • normalized package name match
  • 匹配方式:Iproute2mac
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ip/iproute2mac/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
MacPorts95%

iproute2mac

sudo port install iproute2mac
  • normalized package name match
  • 匹配方式:Iproute2mac
MacPorts ports tree · api.github.com · MacPorts ports tree: net/iproute2mac/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
apk92%

bridge 1.5-r5

Scripts for configuring network bridge interfaces

https://wiki.alpinelinux.org/wiki/Bridge

sudo apk add bridge
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: bridge
  • installed executable or alias match
  • 匹配方式:Bridge
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: bridge from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
winget92%

Geomitron.Bridge

winget install --id Geomitron.Bridge -e
  • installed executable or alias match
  • 匹配方式:Bridge
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: Geomitron.Bridge from https://cdn.winget.microsoft.com/cache/source.msix

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

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