https://brew.sh/index_ja にあるコマンドを実行.
$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
$ export http_proxy=http://xxx.xxx.xxx.xxx:yyyy $ export https_proxy=$http_proxy $ export all_proxy=$http_proxy
$ brew update <-- brew 自身のアップデート $ brew upgrade $ brew cleanup
Xcode Command Line tools が必要といわれるときがある.
$ xcode-select --install
brew doctor を実施すると Warning がでる.
その一つがmacのファイルシステムがデフォルト case-sensitive(大小区別する)なのでというもの.
$ brew install パッケージ名
$ brew info パッケージ名
$ brew list