Heroku command not found

前端 未结 12 1061
北海茫月
北海茫月 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:36

    Do remember to actually source the installation file.

    wget -0- wget https://toolbelt.heroku.com/install-ubuntu.sh | sh
    

    didn't work for me. And as a linux noob I used instead:

    wget 0- wget https://toolbelt.heroku.com/install-ubuntu.sh | sh
    

    notice that the '-' is missing from the option to wget. This downloaded the install source to my current directory.

    then I did:

    bash install-ubuntu.sh 
    

    which finished up the installation for me.

    then:

    heroku login
    

    works!!

提交回复
热议问题