# org list

List all orgs you’ve created or authenticated to.

## Aliases for org list

`force:org:list`

## Flags

| Flag Name (Long)           | Flag Name (Short) | Description                                                                                                                            |
| -------------------------- | ----------------- | -------------------------------------------------------------------------------------------------------------------------------------- |
| `--all`                    | N/A               | **Type:** Boolean<br><br>Include expired, deleted, and unknown-status scratch orgs.                                                    |
| `--clean`                  | N/A               | **Type:** Boolean<br><br>Remove all local org authorizations for non-active scratch orgs. Use "org logout" to remove non-scratch orgs. |
| `--flags-dir`              | N/A               | **Type:** Value<br><br>Import flag values from a directory.                                                                            |
| `--json`                   | N/A               | **Type:** Boolean<br><br>Format output as json.                                                                                        |
| `--no-prompt`              | `-p`              | **Type:** Boolean<br><br>Don't prompt for confirmation.                                                                                |
| `--skip-connection-status` | N/A               | **Type:** Boolean<br><br>Skip retrieving the connection status of non-scratch orgs.                                                    |
| `--verbose`                | N/A               | **Type:** Boolean<br><br>List more information about each org.                                                                         |

## Examples for org list

List all orgs you've created or authenticated to:

```shell
sf org list
```

List all orgs, including expired, deleted, and unknown-status orgs; don't include the connection status:

```shell
sf org list --skip-connection-status --all
```

List orgs and remove local org authorization info about non-active scratch orgs:

```shell
sf org list --clean
```
