sudo snap install --classic heroku
npm i -g heroku
code to install heroku in windows
sudo apt-get install heroku
brew tap heroku/brew && brew install heroku <<< FOR MAC
$ curl https://cli-assets.heroku.com/install.sh | sh
$ sudo snap install --classic heroku
# get apps list
heroku apps
# to get logs
heroku logs --app=name-of-app
# replace the name-of-app with the name of your heroku app
# =============================================
# to login to your heroku app cli
heroku ps:exec --app=name-of-app
# grapper by slick : )