2
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?

Mac bash Homebrewインストール

Last updated at Posted at 2023-03-09

概要

  • MacにHomebrewをインストールして$ brewコマンドを使えるようにする方法をまとめる。

方法

  1. 下記にアクセスする。

  2. 「インストール」の右下のコピーボタンを押下してインストールコマンドをコピーする。

    macOS(またはLinux)用パッケージマネージャー_—_Homebrew.png

  3. コピーしたコマンドをMacのローカルのターミナルに貼り付けて実行する。

  4. .bash_profileを開き下記の内容を追記する。

    .bash_profile
    export PATH="/opt/homebrew/bin:/opt/homebrew/sbin:$PATH"
    
  5. 下記コマンドを実行して.bash_profileを再読み込みする。

    source ~/.bash_profile
    
  6. 下記コマンドを実行して正常にhomebrewのバージョンが帰ってきたらインストール完了

    brew
    
2
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
2
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?