Help us understand the problem. What is going on with this article?

macOS SierraにHomebrewでipコマンドをインストールする

More than 3 years have passed since last update.
  • 環境
    • OS : macOS Sierra version10.12.4 64bit
    • Homebrew 1.2.1
  • インストール対象 : iproute2mac v1.2.1

1. Homebewを最新化する

最新化(upgrade)して健康診断(doctor)もしておく。

$ brew upgrade
Updating Homebrew...
==> Auto-updated Homebrew!
<省略>

$ brew doctor
Your system is ready to brew.

2. iproute2macをインストールする

iproute2macがHomebrewにいるか確認する

$ brew search iproute2mac
iproute2mac

iproute2macをインストールする

$ brew install iproute2mac
==> Using the sandbox
==> Downloading https://github.com/brona/iproute2mac/releases/download/v1.2.1/iproute2mac-1.2.1.tar.gz
==> Downloading from https://github-production-release-asset-2e65be.s3.amazonaws.com/24814763/10faf55c-
######################################################################## 100.0%
🍺  /usr/local/Cellar/iproute2mac/1.2.1: 6 files, 21KB, built in 4 seconds

3. 本当にインストールされたか確認する

$ ip
Usage: ip [ OPTIONS ] OBJECT { COMMAND | help }
       ip -V
where  OBJECT := { link | addr | route | neigh }
       OPTIONS := { -4 | -6 }

iproute2mac
Homepage: https://github.com/brona/iproute2mac
This is CLI wrapper for basic network utilities on Mac OS X inspired with iproute2 on Linux systems.
Provided functionality is limited and command output is not fully compatible with iproute2.
For advanced usage use netstat, ifconfig, ndp, arp, route and networksetup directly.

$ ip -V
iproute2mac, v1.2.1

参考サイト様

ponsuke0531
びっくりするほど物覚えが悪いが、エンジニアを目指しています。
http://ponsuke-tarou.hatenablog.com/
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Comments
No comments
Sign up for free and join this conversation.
If you already have a Qiita account
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
ユーザーは見つかりませんでした