deploy on heroku from cli code example
Example 1: heroku cli
npm i -g heroku
code to install heroku in windows
Example 2: git push to heroku
$ git push heroku master
Example 3: deploy to heroku
$ git add .
$ git commit -m "Added a Procfile."
$ heroku login
Enter your Heroku credentials.
...
$ heroku create <app-name>
Creating arcane-lowlands-8408... done, stack is cedar
$ git push heroku master
-----> Node.js app detected
...
-----> Launching... done
http://arcane-lowlands-8408.herokuapp.com deployed to Heroku
Example 4: heroku cli
$ brew tap heroku/brew && brew install heroku