Mac 开发环境安装
1. 安装 Homebrew
官网 https://brew.sh/
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
which $SHELL
/bin/zsh
2. 安装 nvm
brew install nvm
3. 安装 yarn
brew install yarn
4. 下载其他软件
5. 代码仓库配置
https://docs.github.com/en/authentication/connecting-to-github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent
https://www.jianshu.com/p/f7f4142a1556
6. Node 镜像地址切换
npm config get registry
npm config set registry https://registry.npmmirror.com/
npm install 包名 --registry=https://registry.npmmirror.com/