mac新电脑安装开发环境工具

brew安装

/bin/bash -c "$(curl -fsSL https://gitee.com/ineo6/homebrew-install/raw/master/install.sh)"\n

oh-my-zsh安装

sh -c "$(curl -fsSL https://gitee.com/mirrors/oh-my-zsh/raw/master/tools/install.sh)"\n

item2安装

brew install item2 --cask

node安装

brew install node
npm install -g n
sudo n install 12.13.1
brew uninstall node

watchman安装

brew install watchman

cocoapods安装

brew install cocoapods

go安装

brew install go

hugo安装

brew install hugo

xcode 命令行切换

sudo xcode-select -r

sudo xcode-select --switch /Library/Developer/CommandLineTools