# Deploying targets

## Deploying config sets

You use the [deploy targets command](/command-line-usage/deploy-targets.md) to deploy stacks configured in config sets that are attached to deployment targets. For detailed information about the command, please see [here](/command-line-usage/deploy-targets.md).

#### Example

Here's an example showing how to deploy config sets to all targets under the **all/application** group:

```bash
tkm targets deploy all/application
```

## Removing config sets

You use the [undeploy targets command](/command-line-usage/undeploy-targets.md) to remove stacks configured in config sets that are attached to deployment targets. For detailed information about the command, please see [here](/command-line-usage/undeploy-targets.md).

#### Example

Here's an example demonstrating how to remove config sets from the **sandbox** target:

```bash
tkm targets undeploy --target sandbox
```


---

# 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://targets.takomo.io/configuration/deploying-targets.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.
