Installation and Set up of Heroku CLI

Installation and set up of Heroku CLI

To install the Heroku CLI, we have to follow the steps below.

Downloading the Heroku CLI on our machine

To download the Heroku CLI, we must follow the instructions provided by the Heroku documentation. The documentation provides the various options for downloading the Heroku CLI on different machines such as Windows, Mac OS, and Ubuntu. We can head to the Heroku documentation by clicking on this link.

After downloading, we can confirm if we have access to the Heroku CLI by checking the version on the terminal by typing in the command:

heroku -v

Once the Heroku version shows in the terminal, it means Heroku has gotten installed, which can be executed in the terminal below:

Get hands-on with 1400+ tech skills courses.