Heroku Cheat Sheet

/ Edit this post

Heroku Cheat Sheet

apps

  • heroku apps:create <name> --region <us|eu>
  • heroku apps:info
  • heroku apps:open
  • heroku apps:rename <newname>

logs

  • heroku logs
  • heroku logs --tail

releases

  • heroku releases
  • heroku releases:info <vNN>
  • heroku rollback <vNN>

ps

  • heroku ps
  • heroku ps:scale web=1

run

  • heroku run bash
  • heroku run node

config

  • heroku config
  • heroku config --shell
  • heroku config --json
  • heroku config:set <KEY=val>
  • heroku config:unset <KEY>

domains

  • heroku domains:add <example.com>
  • heroku domains:remove <example.com>
  • heroku domains:clear

addons

  • heroku addons
  • heroku addons:create <name>
  • heroku addons:destroy <name>
  • heroku addons:open <name>

Another tip: If you want to keep your apps running on free dyno's, try using this http://kaffeine.herokuapp.com