1
1

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.

Homebrewのインストール

Posted at

Homebrewとは

Macのパッケージ管理ツール(=ソフトウェアを管理するシステム)。

Homebrewインストール手順

1. コマンドライン・デベロッパー・ツールをインストール

$ xcode-select --install

以下↓が表示された場合は、すでにインストールされているので何もしなくてOK。

xcode-select: error: command line tools are already installed, use "Software Update" to install updates

2. Homebrewがインストール済みか確認する

以下↓が表示されていればインストールされているのでOK。
(バージョンは人によって異なる。)

$ brew -v
Homebrew 2.1.16

↑が表示されない場合は、Homebrewをインストールします

3. Homebrewをインストールする

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


Press RETURN to continue or any other key to abort
# => Enterキーを押す

Password:
# => Macにログインする時のパスワードを入力する

$ brew update
# インストール完了後、brewをアップデートする
1
1
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
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?