> ## Documentation Index
> Fetch the complete documentation index at: https://www.qovery.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# qovery context

> Show or set the organization, project, environment and service the CLI targets by default

## Overview

Use `qovery context` to see or change the organization, project, environment and service the CLI targets by default, so you do not have to pass them to every command.

## Commands

### Show the current context

```bash theme={null}
qovery context
```

Prints the organization, project, environment and service the CLI currently targets.

### Set the context

```bash theme={null}
qovery context set
```

`qovery context set` is an interactive picker: it asks you to select an organization, then a
project, an environment and a service. It takes no flags to select them.

> [!NOTE]
>
> **Scripts, CI and AI agents** cannot answer the interactive picker. Skip the context and pass names
> explicitly instead: commands accept `--organization`, `--project` and `--environment` (for example
> `qovery environment list --organization "Acme Corp" --project "Backend Services"`), and
> `qovery api` takes IDs in the path (`qovery api "organization/$ORGANIZATION_ID/project"`).

## Examples

### Switch to another organization, project or environment

```bash theme={null}
qovery context set
# Select organization -> project -> environment -> service
qovery context
# Check what is now selected
```

### Target an organization without changing the context

```bash theme={null}
qovery project list --organization "Acme Corp"
```

## Command reference

Generated from `qovery context --help` (CLI v1.180.0). Every command also accepts `-h, --help` and the [global flags](https://www.qovery.com/docs/cli/commands/overview.md#global-flags).

### `qovery context`

Manage CLI context

```text Usage theme={null}
qovery context [flags]
qovery context [command]
```

| Subcommand | Description |
| - | - |
| `qovery context set` | Set Qovery CLI context |

No command-specific flags.

### `qovery context set`

Set Qovery CLI context

```text Usage theme={null}
qovery context set [flags]
```

No command-specific flags.

## Related Commands

* [`qovery auth`](https://www.qovery.com/docs/cli/commands/auth) - Authenticate with Qovery


## Related topics

- [qovery api](https://www.qovery.com/docs/cli/commands/api.md)
- [qovery demo](https://www.qovery.com/docs/cli/commands/demo.md)
- [qovery auth](https://www.qovery.com/docs/cli/commands/auth.md)
- [qovery project](https://www.qovery.com/docs/cli/commands/project.md)
- [qovery token](https://www.qovery.com/docs/cli/commands/token.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.