# bricks install

Deploy a blueprint to a selected collection

## Synopsis

Deploy a blueprint to a selected collection

```
bricks install [blueprint] [flags]
```

## Examples

```

  bricks install @bluebricks/postgres --collection=production --props-file=path/to/props.json
```

## Options

```
  -c, --collection string      Collection slug as the environment target (alias: --col)
      --env-slug string        Environment slug (alias: --slug)
  -f, --file string            Path to a YAML manifest file (bricks/v1 schema) that defines the deployment non-interactively
      --plan-only              Will create a deployment plan only
  -p, --props string           JSON string containing blueprint properties i.e '{"collection": "dev"}'
      --props-file string      Path to JSON file containing blueprint configuration properties. Cannot be used with --props or --file
      --set-slug string        Set environment slug
      --template-file string   Path to a template file that generates one or more deployment manifests
      --values-file string     Path to a YAML values file to use with the template file
  -y, --yes                    Automatically consent to the planning, direct deploy
```

## Options inherited from parent commands

```
      --api-key string    API key for authentication (overrides JWT)
      --config string     config file (default is $HOME/.bricks/config.yaml)
  -h, --help              Print Help message for Bricks CLI
      --non-interactive   Suppresses interactive UI elements for non-interactive environments
  -v, --version           Print bricks CLI version
```

## SEE ALSO

* [bricks](https://github.com/bluebricks-dev/Bluebricks-Documentation/blob/main/cli-reference/bricks.md) -


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://bluebricks.co/docs/bricks-cli/cli-reference/bricks_install.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
