AdSense

網頁

2022/10/26

Mac M1 Homebrew安裝位置

Mac M1的Homebrew安裝路徑在/opt/homebrew/bin/brew


安裝完Homebrew在Mac輸入which brew即可顯示Homebrew的安裝路徑。

% which brew
/opt/homebrew/bin/brew

而Homebrew的homebrew-core及homebrew-cask的位置在 /opt/homebrew/Library/Taps/homebrew

/opt/homebrew/Library/Taps/homebrew% ls
homebrew-cask	homebrew-core


Mac x86 Homebrew安裝路徑則是在/usr/local/bin/brew

沒有留言:

AdSense