check installed app in heroku code example
Example 1: heroku cli
npm i -g heroku
code to install heroku in windows
Example 2: download heroku cli mac os catalina
$ brew tap heroku/brew && brew install heroku
Example 3: heroku cli
$ sudo snap install --classic heroku