MacにHomebrewをインストール

2020年10月10日

環境はEl Capitan。
パッケージマネージャーとして有名なHomebrewをインストールする。

公式に行けばすぐにインストールの仕方が説明されている

/usr/bin/ruby -e "$(curl -fsSL <a href="https://raw.githubusercontent.com/Homebrew/install/master/install)&quot">https://raw.githubusercontent.com/Homebrew/install/master/install)&quot</a>;

これをターミナルに貼り付けてくれとのことなので早速貼り付けてみる。

[code]
Press RETURN to continue or any other key to abort
[/code]

と言われるのでreturnキー。
管理者パスワードを入力してインストール開始。
特に説明する部分がないくらいスムーズにインストール完了した。

Already up-to-date.
==> Installation successful!</p>
<p>==> Homebrew has enabled anonymous aggregate user behaviour analytics.
Read the analytics documentation (and how to opt-out) here:
<a href="https://docs.brew.sh/Analytics.html">https://docs.brew.sh/Analytics.html</a></p>
<p>==> Next steps:</p>
<ul>
<li>Run <code>brew help</code> to get started</li>
<li>Further documentation:
<a href="https://docs.brew.sh">https://docs.brew.sh</a>

さっきまでインストールされていなかったはずのGitも何故かインストールされていた。

$ git --version
git version 2.10.1 (Apple Git-78)