Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including @heroku-cli/plugin-local with all npm packages installed. Try it out:

@heroku-cli/plugin-local lists no main file and has no index.js, so it can't be directly required. If this is a mistake, please let us know. It may however contain internal files that you can require manually:

// require("@heroku-cli/plugin-local/[??]")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

@heroku-cli/plugin-local v7.28.0

run heroku apps locally


oclif Version CircleCI Appveyor CI Codecov Downloads/week License

* [Usage](#usage) * [Commands](#commands) # Usage ```sh-session $ npm install -g @heroku-cli/plugin-local $ heroku COMMAND running command... $ heroku (-v|--version|version) @heroku-cli/plugin-local/7.28.0 darwin-x64 node-v10.2.1 $ heroku --help [COMMAND] USAGE $ heroku COMMAND ... ``` # Commands * [`heroku local [PROCESSNAME]`](#heroku-local-processname) * [`heroku local:run`](#heroku-localrun) * [`heroku local:version`](#heroku-localversion)

heroku local [PROCESSNAME]

run heroku app locally

  $ heroku local [PROCESSNAME]

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

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

  $ heroku local:start

  $ 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

  $ heroku local:run

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

  $ heroku local:run bin/migrate

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

heroku local:version

display node-foreman version

  $ heroku local:version

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

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free