Osx:Homebrew:修订间差异

来自WHY42
imported>Soleverlee
imported>Riguz
第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>

2018年6月25日 (一) 05:37的版本

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 -)"

Tmux

brew install tmux