# `ok pkg install`

Install or update Boilerplate packages.

## Synopsis

Install or update Boilerplate packages.

If no arguments are used, the command installs all the packages specified in the
package manifest file.

If one or more output folders are specified, the command installs only the
packages whose OutputFolder matches the specified folders. (OutputFolder is a
field in the package manifest file.)

Set the environment variable BASE\_URL to specify where package templates are
downloaded from.

```sh
ok pkg install [outputFolder ...] [flags]
```

## Examples

```sh
ok pkg install networking
ok pkg install networking my-app
BASE_URL=../boilerplate/terraform ok pkg install networking my-app

```

## Options

```sh
  -h, --help          help for install
  -i, --interactive   Select package(s) to install interactively
  -r, --recursive     Install packages from manifests found in all subdirectories, but excluding the current directory.
```

## See also

[`ok pkg`](ok_pkg.md) - Group of package related commands for managing
Boilerplate packages.
