how to run a scrip from command line in heroku code example
Example 1: install heroku cli on linux
sudo snap install --classic heroku
Example 2: heroku cli
$ brew tap heroku/brew && brew install heroku
sudo snap install --classic heroku
$ brew tap heroku/brew && brew install heroku