姜鹏辉的个人博客 GreyNius

【Mac】初始化命令配置

2021-06-30

Homebrew安装

/bin/zsh -c "$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh)"

安装wget

brew install wget

解决parallel无法联网

完全关闭 Parallels

打开终端,输入:

sudo vim /Library/Preferences/Parallels/network.desktop.xml

打开desktop.xml文件,找到<UseKextless>0</UseKextless>这一行,将其数值改成0

配置ssh-autologin

https://github.com/jiangxianli/SSHAutoLogin

curl -s https://www.jiangxianli.com/SSHAutoLogin/install.sh | bash -s mac

Comments

Content