sudo apt-get heroku code example
Example 1: download heroku ubuntu
$ sudo snap install --classic heroku
Example 2: heroku cli
npm i -g heroku
code to install heroku in windows
$ sudo snap install --classic heroku
npm i -g heroku
code to install heroku in windows