uninstall heroku using snap code example
Example 1: heroku cli
npm i -g heroku
code to install heroku in windows
Example 2: heroku cli
$ sudo snap install --classic heroku
npm i -g heroku
code to install heroku in windows
$ sudo snap install --classic heroku