heroku login --interactive
OR
heroku login -i
npm i -g heroku
code to install heroku in windows
$ 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 : )