Homebrewとは?
macOS上のパッケージ管理システム。
※参考 https://qiita.com/omega999/items/6f65217b81ad3fffe7e6
環境
macOS HighSierra 10.13.6
インストール
公式サイトにアクセス。
https://brew.sh/index_ja.html
公式サイトに載っているコマンドをコピペして、ターミナルに貼り付けて実行。
$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
(〜中略〜)
==> Installation successful!
==> Homebrew has enabled anonymous aggregate formulae and cask analytics.
Read the analytics documentation (and how to opt-out) here:
https://docs.brew.sh/Analytics
==> Homebrew is run entirely by unpaid volunteers. Please consider donating:
https://github.com/Homebrew/brew#donations
==> Next steps:
- Run `brew help` to get started
- Further documentation:
https://docs.brew.sh
※Xcodeが入っていなければ、一緒にインストールされる。
インストール後、バージョン確認。
$ brew -v
Homebrew 1.9.2
Homebrew/homebrew-core (git revision 4d7d; last commit 2019-01-19)