LoginSignup
0
4

More than 5 years have passed since last update.

MacにHomebrewをインストール

Last updated at Posted at 2016-12-04

Xcodeインストール

App Storeからインストールしましょう。
なくてもできるらしいんですけど。
エンジニアならいれとけばいいじゃん?

ターミナル起動して以下のコマンドを実行しましょう。

$ sudo xcodebuild -license accept
$ xcode-select --install
$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
$ brew doctor
$ brew update

おまけ

Homebrew経由でインストールするアプリケーションのインストール先ディレクトリ変更
~/.bashrcに以下の1行を追記

.bashrc
export HOMEBREW_CASK_OPTS='--appdir=/Applications'

~/.bashrcがないよって人はこれしてね

$ touch ~/.bashrc
0
4
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
0
4