brew 安装后配置环境变量
brew
🍺 The missing package manager for macOS (or Linux)
项目地址:https://gitcode.com/gh_mirrors/br/brew
·
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
安装好后提示
echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> /Users/liuan/.zprofile
eval "$(/opt/homebrew/bin/brew shellenv)"
可以执行 但是并不是放到path里面 下次重启就没了。。所以应该这样
echo 'export PATH="/opt/homebrew/bin:$PATH"' >> ~/.bash_profile
source ~/.bash_profile
🍺 The missing package manager for macOS (or Linux)
最近提交(Master分支:3 个月前 )
de294f31
analytics: fix type error
17 小时前
d436eb2e
Fixes:
Error: Parameter 'days': Expected type String, got type Integer with value 30
Caller: /opt/homebrew/Library/Homebrew/utils/analytics.rb:273
Definition: /opt/homebrew/Library/Homebrew/utils/analytics.rb:412 (Utils::Analytics.table_output)
23 小时前
更多推荐




所有评论(0)