# Promotion to Env

To **promote** a component from any source environment to any number of destination environments, using the `/SrcEnv` and `/DstEnv` options. You can specify any number of destination environments in a ';' separated list, to promote components to multiple environments in a single run.

```batch
bc deploy exec --componentid <YourCompId> 
  {/c <ComponentID> | /p <ComponentPackageFileName>} 
  /DstEnv 02-Test;03-PreProd
  /DeploymentNote "DEV Test Success"
```

Check your Deployments to see the deployment from Repos to 01-DEV and then the Promotion with the same version number but a different comment.

![](/files/pNFoaNAkizefmNLl6EzT)


---

# 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/commands/deploy/deploy-info/promotion-to-env.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.
