> **Page index:** https://kmtest.yngvar-hey-dev.oslo.systems/llms.txt lists every page on this site, with a link to its Markdown version.
>
> **Beyond these docs:** Team Utviklerflyt's golden-path plugin for Claude Code answers golden path questions from the source code of the platform's templates, Terraform modules and workflows. [Golden path plugin for Claude Code](/set-up-your-machine/golden-path-plugin-for-claude-code/index.md) shows how to install it.

# `ok pkg add`

Add the Boilerplate template to the package manifest with an optional output
folder

## Synopsis

Add the Boilerplate template to the package manifest with an optional output
folder. The template version is fetched from the latest GitHub release in the
template repository. The output folder is useful when you need multiple
instances of the same template with different configurations, for example having
multiple instances of the application template.

```sh
ok pkg add <template> [outputFolder] [flags]
```

## Examples

```sh
ok pkg add databases my-postgres-database
ok pkg add app ecommerce-website
ok pkg add app ecommerce-api
BASE_URL=../boilerplate/terraform ok pkg add networking

```

## Options

```sh
  -h, --help              help for add
      --no-schema         Do not add the JSON schema for the package
  -s, --no-var-file       Do not download a var file for the package
  -v, --var-file string   Download a var file for the package with the specified name (default "default")
```

## See also

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