Osx:Homebrew:修订间差异
imported>Soleverlee |
imported>Riguz |
||
(未显示同一用户的1个中间版本) | |||
第1行: | 第1行: | ||
==Homebrew== | ==Homebrew== | ||
<source lang="bash"> | <source lang="bash"> | ||
sudo chown -R $USER /usr/local | |||
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | ||
</source> | </source> | ||
第20行: | 第21行: | ||
#via wget | #via wget | ||
sh -c "$(wget https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)" | sh -c "$(wget https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)" | ||
sudo easy_install pip | |||
pip install --user powerline-status | |||
</source> | </source> | ||
=Tmux= | =Tmux= | ||
<source lang="bash"> | <source lang="bash"> |
2018年6月27日 (三) 01:15的最新版本
Homebrew
sudo chown -R $USER /usr/local
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
NPM镜像设置:
npm config set registry https://registry.npm.taobao.org --global
npm config set disturl https://npm.taobao.org/dist --global
zsh
brew install zsh
oh my zsh:
#via curl
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
#via wget
sh -c "$(wget https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"
sudo easy_install pip
pip install --user powerline-status
Tmux
brew install tmux