sudo snap install --classic heroku uninstall code example Example: how to uninstall heroku cli sudo apt-get remove Heroku # to uninstall heroku cli