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

local

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

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

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