npm package: @heroku-cli/plugin-local
Description: run heroku apps locally
Author: Chad Carbert @chadian
Latest version: 8.1.9
Deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

local
=====



[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)
[![Version](https://img.shields.io/npm/v/local.svg)](https://npmjs.org/package/local)
[![CircleCI](https://circleci.com/gh/chadian/local/tree/master.svg?style=shield)](https://circleci.com/gh/chadian/local/tree/master)
[![Appveyor CI](https://ci.appveyor.com/api/projects/status/github/chadian/local?branch=master&svg=true)](https://ci.appveyor.com/project/chadian/local/branch/master)
[![Downloads/week](https://img.shields.io/npm/dw/local.svg)](https://npmjs.org/package/local)
[![License](https://img.shields.io/npm/l/local.svg)](https://github.com/chadian/local/blob/master/package.json)

<!-- toc -->
* [Usage](#usage)
* [Commands](#commands)
<!-- tocstop -->
# Usage
<!-- usage -->
```sh-session
$ npm install -g @heroku-cli/plugin-local
$ heroku COMMAND
running command...
$ heroku (--version|-v)
@heroku-cli/plugin-local/8.1.9 darwin-arm64 node-v16.19.0
$ heroku --help [COMMAND]
USAGE
  $ heroku COMMAND
...
```
<!-- usagestop -->
# Commands
<!-- commands -->
* [`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] [-f <value>] [-e <value>] [-p <value>]

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

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/v8.1.9/src/commands/local/index.ts)_

## `heroku local:run`

run a one-off command

```
USAGE
  $ heroku local:run [-e <value>] [-p <value>]

FLAGS
  -e, --env=<value>
  -p, --port=<value>  [default: 5001]

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/v8.1.9/src/commands/local/run.ts)_

## `heroku local:start [PROCESSNAME]`

run heroku app locally

```
USAGE
  $ heroku local:start [PROCESSNAME] [-f <value>] [-e <value>] [-p <value>]

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

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/v8.1.9/src/commands/local/version.ts)_
<!-- commandsstop -->