安装homebrew
1
| /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
|
关闭homebrew升级提示
将以下内容放入【~/.zshrc】文件,重启终端即可
1 2 3 4
| export HOMEBREW_NO_INSTALL_CLEANUP=true
export HOMEBREW_NO_ENV_HINTS=true
|
安装软件
常用软件
1
| brew install --cask microsoft-edge iterm2 raycast appcleaner temurin@21 visual-studio-code snipaste iina orbstack windows-app thunder resilio-sync the-unarchiver wechat wireshark
|
代理软件
1
| brew install trojan-go privoxy
|
环境变量设置:
终端里运行下面三条命令:
1 2 3
| echo >> /Users/lethescap/.zprofile echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> /Users/lethescap/.zprofile eval "$(/opt/homebrew/bin/brew shellenv)"
|
