LoginSignup
0
1

More than 3 years have passed since last update.

MacでHomebrewをインストールしてみた!

Posted at

はじめに

HomebrewはMacやLinuxにおける主要なパッケージ管理システムです。
今回は、インストール手順を簡潔に確認してみたいと思います。

参考記事
https://awesome-linus.com/2019/08/17/mac-homebrew-install/

1.Xcodeのインストール

ターミナルを開いて、以下のコマンドを実行します。

$ xcode-select --install

確認が入りますが、Enterでインストール開始!
少し時間がかかります。。

2.Homebrewのインストール

1.が完了したら、引き続きターミナルで以下のコマンドを実行します。

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

公式サイトにインストールコマンドが記載されています。
https://brew.sh/index_ja.html

You have not agreed to the Xcode license agreements ... と表示された場合

Xcodeのライセンス規約に同意していません。とのことなので、規約に同意していきます。

Xcodeを開いて、agreeを選択し、
再度、前述のHomebrewインストールのコマンドを実行するとインストールされます。

3.インストール完了を確認

ターミナルにて、以下のコマンドを実行します。

$ brew doctor
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry or file an issue; just ignore this. Thanks!
$ brew --version
Homebrew 2.5.11

バージョンが出力されました。
今回はこれで終わります。

まとめ

今回は、Homebrewインストール手順を確認しました。
参考にさせて頂いた記事の作成者様ありがとうございました。

次は、brew installで、Python/Djangoを触っていきたいと思います。
初学者の方、一緒に頑張っていきましょう!

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