heroku insta;ll code example Example 1: heroku install classic $ npm install -g heroku Example 2: heroku cli $ sudo snap install --classic heroku