heroku command not found code example
Example 1: heroku command not found
npm i -g heroku
Example 2: install heroku cli on linux
sudo snap install --classic heroku
Example 3: download heroku
$ brew tap heroku/brew && brew install heroku
npm i -g heroku
sudo snap install --classic heroku
$ brew tap heroku/brew && brew install heroku