下载软件: 网页:Xcode,搜狗输入法(QQ号),百度网盘,iTerm,QQ,微信,webstorm, Chrome浏览器,JDK,VSCode
百度网盘:office,Tower(双击license)
低优先级:Postman
修改计算机名 偏好设置-共享
修改终端前的计算机名 jingyan.baidu.com/article/200…
sudo vim /etc/bashrc
PS1='\W \u\$ '
sudo vim /etc/zshrc
curl: (7) Failed to connect to raw.githubusercontent.com port 443 after 10 ms: Connection refused
vim /etc/hosts
185.199.110.133 raw.githubusercontent.com
解决方法 blog.csdn.net/qq_42823864…
安装任何来源
sudo spctl --master-disable
安装zsh
## gitee国内进行安装,适合没有fanqiang的小伙伴
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
zsh设置
sudo vi /etc/zshrc
PS1="%1~ %# "
source /etc/bashrc
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
解决方法
xcode-select --install
安装CocoaPods
gem sources --add https://gems.ruby-china.com/ --remove https://rubygems.org/
gem sources -l
sudo gem install cocoapods
pod --version
安装homebrew
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
JS环境配置
安装node
brew install node
npm换源
npm config set registry https://registry.npm.taobao.org --global
安装yarn
brew install yarn
yarn换源
yarn config set registry https://registry.npm.taobao.org --global
yarn config set disturl https://npm.taobao.org/dist --global
破解JetBrain blog.csdn.net/voke_/artic…
安装Commitizen
npm install -g commitizen
项目目录里
commitizen init cz-conventional-changelog --save --save-exact
Xcode无用信息
scheme => run => argument => environment variables =>
OS_ACTIVITY_MODE disable