Perform the following steps to create a new app from the CLI:
- Install the Heroku CLI from https://cli.heroku.com.
- Once installed, Heroku should be in your system's PATH variable.
- Open a command prompt and run heroku create. You will see output similar to the following:
Creating app... done, glacial-beyond-27911 https://glacial-beyond-27911.herokuapp.com/ | https://git.heroku.com/glacial-beyond-27911.git
- The app name is generated dynamically and a remote Git repository is created. You can specify the app name and region (as done via the UI) by running the command:
$ heroku create test-app-9812 --region us Creating test-app-9812... done, region is us https://test-app-9812.herokuapp.com/ | https://git.heroku.com/test-app-9812.git ...