# Deploy Components

Personally, I strongly recommend using [Component Sets](/boomi-console/library/packages.md) for deployment.

However, you can also deploy or promote single components using the */c* argument.

After executing a deployment I recommend creating a deployment report using the DEPLOY GET command -> *deployedPackages.csv*.

<details>

<summary>Deploy to a target environment</summary>

<pre><code>.\bc DEPLOY EXEC /c {compId} /dstEnv=01-DEV
<strong>.\bc DEPLOY GET  /c {compId} /o {dir}
</strong></code></pre>

</details>

<details>

<summary>Promote to a target environment</summary>

```
.\bc DEPLOY EXEC /p {packName} /srcEnv=01-DEV /dstEnv=02-TEST
.\bc DEPLOY GET  /p {packName}
```

</details>


---

# 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://boomi.markusschmidt.pro/boomi-console/command-collection/deploy-components.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.
