前端工程師拿到全新的 Mac 需要做哪些准備


最近蘋果退出了新款 Mac,用了3年15款Pro之后,終於盼到18款的降價,於是含淚更新換代

但是每次換電腦,重裝環境的好多東西記不清,於是記個筆記

 

 

一、終端

安裝 zsh

sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"

如果沒有安裝 Git,會首先提示安裝 Git

 

安裝 brew

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

 

安裝 nvm

curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bash

然后使用 nvm 安裝指定版本的 node

 

安裝 nrm 

npm install -g nrm nrm ls nrm use taobao

 

安裝 yarn

brew install yarn

 

 

二、應用

1. iTerm: https://www.iterm2.com/

2. SourceTree: https://www.sourcetreeapp.com/

3. Chrome: https://www.google.cn/chrome/

4. TeamViewer: https://www.teamviewer.com/cn/

5. Charles: https://www.charlesproxy.com/

6. VS Code: https://code.visualstudio.com/

7. WebStorm: https://www.jetbrains.com/webstorm/

8. Gas Mask: https://www.macupdate.com/app/mac/29949/gas-mask/

9. Postman:  https://www.getpostman.com/downloads/

10. Typora: https://www.typora.io/

 

Charles 激活:https://www.zzzmode.com/mytools/charles/

WebStrom 激活:http://idea.lanyus.com/

 

 

三、Git

設置用戶名和郵箱

git config --global user.name "yourname" git config --global user.email "youremail@qq.com"

生成公鑰

ssh-keygen

查看公鑰

cat ~/.ssh/id_rsa.pub

 

然后就可以起飛了~

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM