# ccp org



{/* Generated by scripts/sync-cli-reference.ts */}

Choose a default organization

```text
Usage: ccp org [OPTIONS] <COMMAND>
```

| Argument   | Type or values | Default | Parser environment variable | Description |
| ---------- | -------------- | ------- | --------------------------- | ----------- |
| --help, -h | flag           | —       | —                           | Print help  |

## `ccp org use` [#ccp-org-use]

Choose and save a default organization (lists names in a terminal)

```text
Usage: ccp org use [OPTIONS] [ID]
```

| Argument   | Type or values | Default | Parser environment variable | Description                                   |
| ---------- | -------------- | ------- | --------------------------- | --------------------------------------------- |
| id         | text           | —       | —                           | Organization ID; omit to choose interactively |
| --help, -h | flag           | —       | —                           | Print help                                    |

## `ccp org current` [#ccp-org-current]

Show the effective organization and its source, without prompting

```text
Usage: ccp org current [OPTIONS]
```

| Argument   | Type or values | Default | Parser environment variable | Description |
| ---------- | -------------- | ------- | --------------------------- | ----------- |
| --json     | flag           | false   | —                           |             |
| --help, -h | flag           | —       | —                           | Print help  |

## `ccp org clear` [#ccp-org-clear]

Remove the saved default for this account and environment

```text
Usage: ccp org clear [OPTIONS]
```

| Argument   | Type or values | Default | Parser environment variable | Description |
| ---------- | -------------- | ------- | --------------------------- | ----------- |
| --help, -h | flag           | —       | —                           | Print help  |

## Example [#example]

```bash
ccp org current --json
```

## Global options [#global-options]

Set `CCP_CONTEXT` to choose a named context. An explicit `--context` takes precedence. See [organization selection](/docs/ccp/organizations) for organization defaults.

| Argument  | Type or values | Default | Parser environment variable | Description                                         |
| --------- | -------------- | ------- | --------------------------- | --------------------------------------------------- |
| --context | text           | —       | —                           | Select a developer context from \~/.ccp/config.toml |
