New --start-cmd flag in heroku local command

Change effective on 13 April 2026

We added the --start-cmd flag in the heroku local command. Use this flag to run the command as a web process type when the app doesn’t have a Procfile.

$ heroku local --start-cmd

For more information, see Running Apps Locally.