Homebrew is the easiest and most flexible way to install the UNIX tools Apple didn’t include with macOS. It can also install software not packaged for your Linux distribution without requiring sudo. Homebrew是安装macOS未自带的UNIX工具的一种简单、灵活的方式。 它也能在不使用sudo的情况下,安装Linux发行版未打包的软件。
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"brew --versionHomebrew 4.3.18
brew install --cask notion
echo "eval "$(/opt/homebrew/bin/brew shellenv)"" >> ~/.zshrc
source ~/.zshrcbrew --version
brew doctor # 홈브루의 상태 확인brew update:更新Homebrew。 brew upgrade [包名]:更新已安装的软件包。 brew list:列出已安装的软件包。 brew search [包名] brew uninstall [包名] brew info [包名] brew cleanup:清理不再使用的软件包。 brew doctor:检查Homebrew状态。