Osx:Homebrew:修订间差异
imported>Soleverlee 以“==Homebrew== <source lang="bash"> /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" </source> ==zsh== Category:...”为内容创建页面 |
imported>Riguz |
||
(未显示2个用户的4个中间版本) | |||
第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> | ||
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"> | |||
brew install zsh | |||
</source> | |||
oh my zsh: | |||
<source lang="bash"> | |||
#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 | |||
</source> | |||
=Tmux= | |||
<source lang="bash"> | |||
brew install tmux | |||
</source> | |||
[[Category:Linux/Unix]] | [[Category:Linux/Unix]] |
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