zsh 中 command not found:brew
brew
🍺 The missing package manager for macOS (or Linux)
项目地址:https://gitcode.com/gh_mirrors/br/brew

·
zsh 中 brew not found
问题
在使用 iTerm2 中,切换 command 为 /bin/zsh
之后,使用 brew -v
会出现
zsh: command not found brew
.
解决方式
使用 vim ~/.zshrc
打开~/.zshrc
文件。或者其他熟悉的文本编辑器。
然后取消注释下面这行:
# If you come from bash you might have to change your $PATH.
export PATH=$HOME/bin:/usr/local/bin:$PATH
最后使用命令:
source ~/.zshrc
使修改生效。




🍺 The missing package manager for macOS (or Linux)
最近提交(Master分支:5 个月前 )
df70c9ff
Revert "cmd/info: only display keg info if tap matches"
22 天前
156ce5b9 - 22 天前
更多推荐
所有评论(0)