'Installing heroku with brew not working. brew tap heroku/brew && brew install heroku

When I run

brew tap heroku/brew && brew install heroku

I get this error

The following formula cannot be installed from bottle and must be built from source.   
heroku 


Solution 1:[1]

This worked for me now

curl https://cli-assets.heroku.com/install.sh | sh

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Mm Victory