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?

【環境構築】Homebrew

Last updated at Posted at 2024-11-29

環境構築

Homebrewインストール確認

以下のコマンドでHomebrewのバージョン確認をします。

brew --version

バージョンが表示されればインストールされています。
X.X.X:Homebrewのバージョン

Homebrew X.X.X

Homebrewインストール

以下のコードを実行します。

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

ログインユーザーのパスワードを入力します。

Password:

ENTERを入力します。

Press RETURN/ENTER to continue or any other key to abort:

以下のコードを実行してパスを通します。
username:PCユーザー名

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

以下のコードを実行します。

eval "$(/opt/homebrew/bin/brew shellenv)"

再度Homebrewのバージョン確認をします。

brew --version

バージョンが表示されればインストール完了です。
X.X.X:Homebrewのバージョン

Homebrew X.X.X
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?