【发布时间】:2021-04-14 09:45:08
【问题描述】:
我在 4 个月前安装了 heroku cli,并且使用得很好。但是今天我想再次登录..但是我不断收到错误。
zsh: command not found: heroku
然后我在网上搜索,甚至尝试运行“brew”命令,即使我的路径中确实有“source ~/.bash_profile”,但当我运行“brew”时它仍然给我:
/bin/bash: /usr/local/Library/Homebrew/brew.sh: No such file or directory
这是我的路径:
# Ensure user-istalled binaries take precedence
export PATH=/usr/local/bin:$PATH
# Load .bashrc if it exists
test -f ~/.bashrc && source ~/.bashrc
export PATH=$PATH:~/Desktop/bin
export PATH=/Library/PostgreSQL/13/bin:$PATH
export PATH=/usr/local/Homebrew/bin:$PATH
export PATH=/Applications/Postgres.app/Contents/Versions/latest/bin:$PATH
export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk-10.jdk/Contents/Home/bin/apt
我被困在这个问题上,似乎无法找出问题所在。
【问题讨论】:
标签: amazon-web-services macos heroku heroku-cli