Mac 関係覚え書き

インストール

https://brew.sh/index_ja にあるコマンドを実行.

$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

Proxy 設定

$ 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

Xcode Command Line tools が必要といわれるときがある.

$ xcode-select --install

brew doctor

brew doctor を実施すると Warning がでる.

その一つがmacのファイルシステムがデフォルト case-sensitive(大小区別する)なのでというもの.

パッケージインストール

$ brew install パッケージ名 

インストール状況を確認

$ brew info パッケージ名

インストールされているパッケージリスト

$ brew list

トップ   編集 凍結 差分 履歴 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS
Last-modified: 2019-09-22 (日) 14:43:47