install a dependency on heroku using sudo code example
Example 1: heroku cli
npm i -g heroku
code to install heroku in windows
Example 2: download heroku cli
$ brew tap heroku/brew && brew install heroku
npm i -g heroku
code to install heroku in windows
$ brew tap heroku/brew && brew install heroku