@heroku-cli/plugin-local

run heroku apps locally

Usage no npm install needed!

<script type="module">
  import herokuCliPluginLocal from 'https://cdn.skypack.dev/@heroku-cli/plugin-local';
</script>

README

local

oclif Version CircleCI Appveyor CI Downloads/week License

Usage

$ npm install -g @heroku-cli/plugin-local
$ heroku COMMAND
running command...
$ heroku (-v|--version|version)
@heroku-cli/plugin-local/7.54.0 darwin-x64 node-v12.18.4
$ heroku --help [COMMAND]
USAGE
  $ heroku COMMAND
...

Commands

heroku local [PROCESSNAME]

run heroku app locally

USAGE
  $ heroku local [PROCESSNAME]

OPTIONS
  -e, --env=env            location of env file (defaults to .env)
  -f, --procfile=procfile  use a different Procfile
  -p, --port=port          port to listen on

DESCRIPTION
  Start the application specified by a Procfile (defaults to ./Procfile)

ALIASES
  $ heroku local:start

EXAMPLE
  $ heroku local
  $ heroku local web
  $ heroku local web=2
  $ heroku local web=1,worker=2

See code: src/commands/local/index.ts

heroku local:run

run a one-off command

USAGE
  $ heroku local:run

OPTIONS
  -e, --env=env
  -p, --port=port

EXAMPLE
  $ heroku local:run bin/migrate

See code: src/commands/local/run.ts

heroku local:version

display node-foreman version

USAGE
  $ heroku local:version

See code: src/commands/local/version.ts