heroku git:remote -a yourApp
heroku login --interactive
OR
heroku login -i
npm i -g heroku
code to install heroku in windows
sudo apt-get install heroku
brew tap heroku/brew && brew install heroku <<< FOR MAC
$ 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 : )