install heroku cli on mac looks like its looping code example
Example 1: heroku install classic
$ npm install -g heroku
Example 2: heroku cli
npm i -g heroku
code to install heroku in windows
$ npm install -g heroku
npm i -g heroku
code to install heroku in windows