苹果电脑安装homebrew
- 平台: macos
- 工具: terminal
macos 苹果电脑安装 homebrew,m2 芯片
打开终端
Cannot load image on this device.
none.blue
command + space,搜索关键字 terminal
安装
Cannot load image on this device.
none.blue
粘贴命令安装 输入密码
export HOMEBREW_INSTALL_FROM_API=1
export HOMEBREW_NO_ANALYTICS=1
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
回车
Cannot load image on this device.
none.blue
按回车
下载
Cannot load image on this device.
none.blue
开始下载 command line tools for xcode
等待
Cannot load image on this device.
none.blue
全端口透明代理环境下,下载会很快。
变量
Cannot load image on this device.
none.blue
设置环境变量,高亮色复制粘贴
验证
Cannot load image on this device.
none.blue
输入 brew 按回车,返回,说明安装成功 或者 brew doctor
分析
Cannot load image on this device.
none.blue
关闭 brew 匿名分析
brew analytics off
vscode
Cannot load image on this device.
none.blue
安装 vscode 测试
brew install --cask visual-studio-code
Loading ...
无广告!