---
schema_version: "1"
id: d35cc3a76473537057d3f23ac864b0aeb316f0447c9cadd3dbf0221ae02db964
title: CLI for Environments and Business Groups
collection: mulesoft
version: current
locale: en-us
portal_url: https://docs.salesforce.com/mulesoft/current/en-us/anypoint-cli/3.x/env-business-groups.md
canonical_url: https://docs.mulesoft.com/anypoint-cli/3.x/env-business-groups
source_site: docs.mulesoft.com
content_type: documentation
content_hash: 02c0e2bd1881dba33e41173fd4b0e2da31f35de9bad77cdbed67db76d9a9b78b
description: MuleSoft Documentation Site
release: 3.x
latest: false
---
---
product: Anypoint CLI
version: 3.x
---

# CLI for Environments and Business Groups

> For the full documentation index, see: https://docs.mulesoft.com/llms.txt

<table><colgroup><col> <col></colgroup><thead><tr><th>Command</th><th>Description</th></tr></thead><tbody><tr><td><div><div><p><a href="#use-environment">use environment</a></p></div></div></td><td><div><div><p>Make specified environment active</p></div></div></td></tr><tr><td><div><div><p><a href="#use-business-group">use business-group</a></p></div></div></td><td><div><div><p>Make specified business-group active</p></div></div></td></tr></tbody></table>

## use environment

This command is only available for interactive mode.

\> use environment \[options\] <name>

This command makes active the environment specified in `<name>`.

This command accepts only the default options: `--help`, `-f`/`--fields` and `-o`/`--output`.

## use business-group

This command is only available for interactive mode.

\> use business-group \[options\] <name>

This command makes the business group you specified in `<name>` active.

> [!NOTE] If your business group or organization name contains spaces, you need to enclose its name
> between `"` characters.
>
> > \> use business-group "QA Organization"
