brew tap heroku/brew && brew install heroku code example
Example 1: install heroku mac
$ brew tap heroku/brew && brew install heroku
Example 2: heroku cli
npm i -g heroku
code to install heroku in windows
$ brew tap heroku/brew && brew install heroku
npm i -g heroku
code to install heroku in windows