Heroku CLI’s heroku run and heroku run:detached commands: A Quick Guide

GuidesOscar van Ruiten

The Heroku CLI contains a lot of powerful CLI commands. Today we will dive into 2 of them: the heroku run and heroku run:detached commands. Both allow you to run a one-off process inside a Heroku one-off dyno right from the terminal, but how are they different and to what use cases does each apply?