mac 装机清单

报错:
1、
LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443

软件:

1、安装brew 参考

 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"

国内可能会失败,可以换成:来自知乎

/bin/bash -c "$(curl -fsSL https://cdn.jsdelivr.net/gh/ineo6/homebrew-install/install.sh)"

设置清华大学源:

git -C "$(brew --repo)" remote set-url origin https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/brew.git

git -C "$(brew --repo homebrew/core)" remote set-url origin https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/homebrew-core.git

git -C "$(brew --repo homebrew/cask)" remote set-url origin https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/homebrew-cask.git

brew update

恢复默认源:

git -C "$(brew --repo)" remote set-url origin https://github.com/Homebrew/brew.git

git -C "$(brew --repo homebrew/core)" remote set-url origin https://github.com/Homebrew/homebrew-core.git

git -C "$(brew --repo homebrew/cask)" remote set-url origin https://github.com/Homebrew/homebrew-cask.git

brew update

2、安装item2+oh-my-zsh 参考

git clone https://github.com/powerline/fonts.git --depth=1
# install
cd fonts
./install.sh
点击了安装字体后就可以删除这个文件了

3、V2rayU

4、Visual Studio Code

vscode 国内下载慢的情况:将微软官方下载地址中的域名``az764295.vo.msecnd.net换成:vscode.cdn.azure.cn`。

5、开发软件(2021.1.*版本有破解的无限期使用软件)

posted @ 2021-11-14 22:11  程序小工  阅读(123)  评论(0编辑  收藏  举报