Osx:Homebrew:修订间差异
imported>Soleverlee |
imported>Soleverlee |
||
第3行: | 第3行: | ||
/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> | ||
NPM镜像设置: | |||
<source lang="bash"> | |||
npm config set registry https://registry.npm.taobao.org --global | |||
npm config set disturl https://npm.taobao.org/dist --global | |||
</source> | |||
==zsh== | ==zsh== | ||
<source lang="bash"> | <source lang="bash"> |
2017年4月20日 (四) 06:55的版本
Homebrew
/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 -)"
Tmux
brew install tmux