2

I would like to install the Heroku CLI in my Macbook without using HomeBrew. Is there a way to do this? Perhaps by using a native command via terminal? Or some other way that does not depend on another bit of software? I have searched online but have not found a way to do so.

Note: I have had issues with HomeBrew so I no longer use it, and hope to continue installing without it. I also did a search on Stackoverflow, as well as check the suggested similar questions while composing this one.

2 Answers2

3

For anyone else seeking answers: I just figured out how to install Heroku without Brew or using npm. Use the command below (it is in Heroku's instructions page):

curl https://cli-assets.heroku.com/install.sh | sh
YCode
  • 1,192
  • 1
  • 12
  • 28
0

Try:

npm install -g heroku

or else use:

sudo npm install -g heroku

Use it in the command line.

ChrisGPT was on strike
  • 127,765
  • 105
  • 273
  • 257
Sri Nivas
  • 1
  • 1