install latest version of heroku command line code example
Example 1: heroku cli
npm i -g heroku
code to install heroku in windows
Example 2: download heroku
$ brew tap heroku/brew && brew install heroku
npm i -g heroku
code to install heroku in windows
$ brew tap heroku/brew && brew install heroku