LoginSignup
3
2

More than 5 years have passed since last update.

macosx 設定メモ homebrew編

Last updated at Posted at 2016-02-06

1.brewインストール

El Capitainではアクセス権を変更する必要があります。

$ sudo chown -R $(whoami) /usr/local

下記を実行してhomebrewをインストールします

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

インストール後に、下のコマンドを実行しておいたほうがよさそうです。
定期的にupdate、upgradeはしたほうが良いです。

$ brew update # homebrew更新
$ brew upgrade # homebrewでインストールしたパッケージの更新
$ brew cleanup # 古くなった formulaを消去
$ brew doctor # 診断

2.使い方(nodeを例に)

$ brew list              # 一覧表示
$ brew install node      # インストール実行
$ brew uninstall node    # アンインストール実行
$ brew deps node         # 依存関係
$ brew info node         # 情報表示
3
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
2