install heroku cli ubuntu using npm code example Example: heroku cli $ sudo snap install --classic heroku