# iproute2mac を Homebrew, MacPorts, Nix, apk, winget でインストール

iproute2mac のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:iproute2mac
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install iproute2mac
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install iproute2mac
```

  証拠: MacPorts ports tree: net/iproute2mac/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#iproute2mac
```

  証拠: nixpkgs package indexes: pkgs/by-name/ip/iproute2mac/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- apk (92%):

```sh
sudo apk add bridge
```

  証拠: Alpine Linux edge package indexes: bridge from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz

### Windows

- winget (92%):

```sh
winget install --id Geomitron.Bridge -e
```

  証拠: Windows Package Manager source index: Geomitron.Bridge from https://cdn.winget.microsoft.com/cache/source.msix

## パッケージ情報

- **パッケージキー:** brew:iproute2mac
- **パッケージマネージャ:** Homebrew
- **バージョン:** 1.7.4
- **ソース概要:** CLI wrapper for basic network utilities on macOS - ip command
- **ホームページ:** <https://github.com/brona/iproute2mac>
- **リポジトリ:** <https://github.com/brona/iproute2mac>
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- bridge (エイリアス)
- ip (エイリアス)
- ss (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 1.7.4
## プロジェクトの歴史と使われ方

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.


## セキュリティノート

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

- **Geiger リスク:** blue / 中
- broad file, network, media, or database tool signal

## 他のパッケージマネージャ記録

- Nix - iproute2mac: normalized package name match | nixpkgs package indexes: pkgs/by-name/ip/iproute2mac/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- MacPorts - iproute2mac: normalized package name match | MacPorts ports tree: net/iproute2mac/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- apk - bridge - 1.5-r5: installed executable or alias match | Alpine Linux edge package indexes: bridge from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Scripts for configuring network bridge interfaces | https://wiki.alpinelinux.org/wiki/Bridge
- winget - Geomitron.Bridge: installed executable or alias match | Windows Package Manager source index: Geomitron.Bridge from https://cdn.winget.microsoft.com/cache/source.msix


## Combined YAML source

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