Heroku command not found

前端 未结 12 1227
北海茫月
北海茫月 2021-02-01 03:06

After installing Heroku Toolbelt, in terminal on Mac when trying to run the following command:

heroku

I get the error:

bash: he         


        
12条回答
  •  傲寒
    傲寒 (楼主)
    2021-02-01 03:47

    First install heroku:

    wget -qO- https://toolbelt.heroku.com/install.sh | bash
    

    After that add a symlink to binary like @Garrett did:

    sudo ln -s /usr/local/heroku/bin/heroku /usr/bin/heroku
    

提交回复
热议问题