org list
List all orgs you’ve created or authenticated to.
force:org:list
| Flag Name (Long) | Flag Name (Short) | Description |
|---|---|---|
‑‑all | N/A | Type: Boolean Include expired, deleted, and unknown-status scratch orgs. |
‑‑clean | N/A | Type: Boolean Remove all local org authorizations for non-active scratch orgs. Use “org logout” to remove non-scratch orgs. |
‑‑flags‑dir | N/A | Type: Value Import flag values from a directory. |
‑‑json | N/A | Type: Boolean Format output as json. |
‑‑no‑prompt | ‑p | Type: Boolean Don’t prompt for confirmation. |
‑‑skip‑connection‑status | N/A | Type: Boolean Skip retrieving the connection status of non-scratch orgs. |
‑‑verbose | N/A | Type: Boolean List more information about each org. |
List all orgs you’ve created or authenticated to:
List all orgs, including expired, deleted, and unknown-status orgs; don’t include the connection status:
List orgs and remove local org authorization info about non-active scratch orgs: