# allyhub orgs use

> Work in and pay from another of your organizations on this computer: the CLI, Studio and every agent on it

Source: https://allyhub.com/docs/reference/cli/orgs-use · AllyHub 0.10.0
Index of all docs: https://allyhub.com/llms.txt

## Usage

```bash
allyhub orgs use [team]
```

## Arguments

| Argument | Type | What it is |
| --- | --- | --- |
| `<team>` | string | The organization: its slug, as allyhub orgs list shows it, or its id |

## Global options

`--json`: print the result as JSON.

## Output

With `--json`, the command prints an object with these fields:

| Field | Type | What it is |
| --- | --- | --- |
| `id` | string |  |
| `name` | string |  |
| `slug` | string |  |

## Examples

```bash
allyhub orgs use acme
```

## Exit codes

`0` when it succeeds; the others are listed in [Exit codes](https://allyhub.com/docs/reference/cli/exit-codes.md).

## In the work

**setup**: This computer, the account and AllyHub's skills

[`skills`](https://allyhub.com/docs/reference/cli/skills.md) → [`skills show`](https://allyhub.com/docs/reference/cli/skills-show.md) → [`auth login`](https://allyhub.com/docs/reference/cli/auth-login.md) → [`auth status`](https://allyhub.com/docs/reference/cli/auth-status.md) → [`orgs list`](https://allyhub.com/docs/reference/cli/orgs-list.md) → `orgs use` → [`doctor`](https://allyhub.com/docs/reference/cli/doctor.md) → [`doctor extensions`](https://allyhub.com/docs/reference/cli/doctor-extensions.md)
