环境配置:新机配置
用于新mac的环境配置
clash
homebrew
git
ssh
生产密钥
1
ssh-keygen -t ed25519 -C "your_email@example.com"
全部默认回车即可
复制公钥
1
cat ~/.ssh/id_ed25519.pub # 如果是 rsa 密钥,执行 cat ~/.ssh/id_rsa.pub
添加到 Github
测试
1
ssh -T git@github.com
首次连接要输出 yes
输出 “Hi your_github_username! You’ve successfully authenticated, but GitHub does not provide shell access.”,说明配置成功
git gpg
nvm, npm, pnpm
go
python, miniconda
oh-my-zsh, p10k
本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来源 Fish's Blog!
