1
5

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

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
1
5
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
1
5

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?