masiboo
masiboo

Reputation: 4719

How to access Heroku app console by heroku CLI

I can check logs by heroku logs --app=my_app_name . I want to access app's console as shown in the picture. How can I access by heroku cli?

enter image description here

Upvotes: 10

Views: 10108

Answers (1)

masiboo
masiboo

Reputation: 4719

To access Heroku app bash by CLI:-

heroku login
heroku ps:exec --app=scoreboard-backend-dev

scoreboard-backend-dev is the app name

Upvotes: 13

Related Questions