Mac M1 Install Homebrew
## 安裝homebrew ``` /bin/bash -c "$(curl -fsSL https://cdn.jsdelivr.net/gh/ineo6/homebrew-install/install.sh)" ``` ## 確認安裝路徑 ``` echo $SHELL ``` 回應: ``` /bin/zsh ``` ## 設定環境變數 ``` echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> ~/.zprofile eval "$(/opt/homebrew/bin/brew shellenv)" ``` ## 確認是否設置完成 ``` brew -v ``` 回應: ``` Homebrew 4.1.12 ``` 參考原文:https://medium.com/charles-%E6%B8%85%E6%BD%94%E5%B7%A5/homebrew-mac-m1%E6%99%B6%E7%89%87%E5%AE%89%E8%A3%9D-df0bdbc719f