https://brew.sh/index_zh-tw.html
https://stackoverflow.com/questions/172 ... os-or-os-x
代碼: 選擇全部
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
sudo easy_install pip
pip install glances
代碼: 選擇全部
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
sudo easy_install pip
pip install glances
代碼: 選擇全部
pip install glances --user -U
~/Library/Python/2.7/bin/glances
代碼: 選擇全部
cat .bash_profile
export PATH=$PATH:~/Library/Python/2.7/bin/
source $HOME/.bash_profile
echo "$PATH"