0
0

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 3 years have passed since last update.

Homebrewをインストールする

Last updated at Posted at 2021-12-29

Goal

M1チップ搭載のMacBook AirにHomebrewをインストールする手順を示します。

References

Pre-Requisites

この文書の手順は、次の環境で実施し、動作を確認しました。

  • MacBook Air (M1, 2020)
  • macOS Monterey 12.0.1
  • zsh 5.8
  • Xcode 13.2.1
    • Command Line Tools for Xcode 13.2.0.0.1 (Dec 3, 2021)

How To

ターミナルを開きます。

Homebrewをインストールするため、次のコマンドを実行します。

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

Homebrewにパスを通すため、次のコマンドを実行します。

% echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> /Users/juno/.zprofile

ターミナルを再起動します。

Homebrewへパスが通り実行できることを確認するため、次のコマンドを実行します。

% brew --version
Homebrew 3.3.9
Homebrew/homebrew-core (git revision 48bcf133e2e; last commit 2021-12-28)
0
0
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
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?