`heroku local` ============== run Heroku app locally * [`heroku local [PROCESSNAME]`](#heroku-local-processname) * [`heroku local:run`](#heroku-localrun) * [`heroku local:start [PROCESSNAME]`](#heroku-localstart-processname) * [`heroku local:version`](#heroku-localversion) ## `heroku local [PROCESSNAME]` run heroku app locally ``` USAGE $ heroku local [PROCESSNAME] [-e ] [-p ] [-f ] [--start-cmd ] ARGUMENTS [PROCESSNAME] name of the process FLAGS -e, --env= location of env file (defaults to .env) -f, --procfile= use a different Procfile -p, --port= port to listen on --start-cmd= command to run as web when no Procfile is present DESCRIPTION run heroku app locally Start the application specified by a Procfile (defaults to ./Procfile) ALIASES $ heroku local:start EXAMPLES $ heroku local $ heroku local web $ heroku local web=2 $ heroku local web=1,worker=2 ``` _See code: [src/commands/local/index.ts](https://github.com/heroku/cli/blob/v11.10.0/src/commands/local/index.ts)_ ## `heroku local:run` run a one-off command ``` USAGE $ heroku local:run [-e ] [-p ] FLAGS -e, --env= location of env file (defaults to .env) -p, --port= port to listen on DESCRIPTION run a one-off command EXAMPLES $ heroku local:run bin/migrate ``` _See code: [src/commands/local/run.ts](https://github.com/heroku/cli/blob/v11.10.0/src/commands/local/run.ts)_ ## `heroku local:start [PROCESSNAME]` run heroku app locally ``` USAGE $ heroku local:start [PROCESSNAME] [-e ] [-p ] [-f ] [--start-cmd ] ARGUMENTS [PROCESSNAME] name of the process FLAGS -e, --env= location of env file (defaults to .env) -f, --procfile= use a different Procfile -p, --port= port to listen on --start-cmd= command to run as web when no Procfile is present DESCRIPTION run heroku app locally Start the application specified by a Procfile (defaults to ./Procfile) ALIASES $ heroku local:start EXAMPLES $ heroku local $ heroku local web $ heroku local web=2 $ heroku local web=1,worker=2 ``` ## `heroku local:version` display node-foreman version ``` USAGE $ heroku local:version DESCRIPTION display node-foreman version ``` _See code: [src/commands/local/version.ts](https://github.com/heroku/cli/blob/v11.10.0/src/commands/local/version.ts)_