[Mac] 修改環境變數下的路徑
列出環境變數
printenv
列出環境變數下的 Path
echo $PATH
打開 bash profile
vi ~/.bash_profile
新增路徑到 PATH
export PATH=$PATH:路徑名稱
存擋
:wq
執行 bash profile
source ~/.bash_profile
歡迎您留言與分享!(Welcome for comments or sharing!)
- [Ruby] Mac 安裝 Ruby & Rails
- [XCode] Unity:unknown type name __declspec