homebrew安装7z提示command not found?

> brew install 7zip                                                                                               9:47:32
==> Fetching sevenzip
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/sevenzip-22.01.arm64_ventura.bottle.tar.gz
Already downloaded: /Users/taozhang/Library/Caches/Homebrew/downloads/0d6b4f8d067c8440dbef434d025c94fa0a760484a2fb4e9d47bb532a6806d246--sevenzip-22.01.arm64_ventura.bottle.tar.gz
==> Pouring sevenzip-22.01.arm64_ventura.bottle.tar.gz
🍺  /opt/homebrew/Cellar/sevenzip/22.01: 3 files, 2MB
> 7z -v                                                                                              9:47:41
zsh: command not found: 7z

homebrew不会把命令加到环境变量里吗?需要我自己加?

阅读 1.2k
撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
推荐问题
logo
Microsoft
子站问答
访问
宣传栏