按理說mac可以一鍵遷移蛤高,但是被格盤了,還是把裝機內(nèi)容備一個清單钦购,之后可以快速配置。
1. 搜狗輸入法(官網(wǎng)下載)
2. iterm2褂萧、oh my zsh (命令行安裝 sh -c "$(wget -qO- https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)")
3. vscode
? ? plugins: eslint押桃、stylelint、comate导犹、gitLens...
4. charlse
5. git
6. snipaste(截圖工具)
7. switchhost(修改 host 映射工具)
8. chrome(官網(wǎng)下載)
9. nodejs(官網(wǎng)下載)
10. n (sudo npm install n -g)
11. 印象筆記
12. 配置ssh公鑰唱凯,下代碼
13. xcode(模擬器調(diào)試? ?appstore下載)
14. 配置git信息? (git alias)
[alias]
d = diff co = checkout br = branch last = log -1 HEAD cane = commit --amend --no-edit lo = log --oneline -n 10 pr = pull --rebase st = status ci = commit
vi ~/.gitconfig
15. 配置ll
? ? ?vim?~/.bash_profile
? ? ?alias ll='ls -alF'
? ? ?source ~/.bash_profile
16. cursor
17. git clone報錯
是因為OpenSSH 8.8以后的版本禁止使用 SHA-1 哈西算法的 RSA 簽名
https://www.openssh.com/txt/release-8.8
解決辦法
1) 可以選擇降級open ssh 版本
2) mac版可以添加以下內(nèi)容 vim ~/.ssh/config
```
Host icode.baidu.com
HostkeyAlgorithms +ssh-rsa
PubkeyAcceptedAlgorithms +ssh-rsa
```?
18. 安裝homebrew
/bin/bash -c "$(curl -fsSL https://gitee.com/ineo6/homebrew-install/raw/master/install.sh)"
19. 安裝wget
brew install wget
20. office辦公軟件
21. postman
22. yarn(brew install yarn)
23. 配置host(sudo vim /etc/hosts)
22. 多路復(fù)用插件
23. 百度開發(fā)者工具、微信開發(fā)者工具
24. 解壓工具?brew install carlocab/personal/unrar
進到需要解壓的文件夾:cd 'target_path'
解壓.rar文件到當(dāng)前文件夾:unrar e 'file_name'
解壓.rar文件到指定路徑:unrar x 'file_name' 'target_path'
解壓帶密碼的.rar文件到當(dāng)前文件夾:unrar e -p'123' 'file_name'
解壓帶密碼的.rar文件到指定文件夾:unrar x -p'123' 'file_name' 'target_path'