I need to log in to the CLI without a browser.

Issue

Some remote servers are not set up with a browser. Sometimes users need to access Heroku through that using the Heroku CLI.

Resolution

You can use the flag -i with the CLI login command which will prompt you to enter your credentials on the CLI itself without using a browser.

heroku login -i

This command is documented here: https://devcenter.heroku.com/articles/heroku-cli#getting-started

Ask on Stack Overflow

Engage with a community of passionate experts to get the answers you need

Ask on Stack Overflow

Heroku Support

Create a support ticket and our support experts will get back to you

Contact Heroku Support
Terms of Service Privacy Cookies © 2020 Salesforce.com