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