sfdx force:org:list

List all orgs you’ve created or authenticated to

Options

NameDescription
--jsonFormat output as json
--loglevel <loglevel>Logging level for this command invocation
--verboseList more information about each org'
--allInclude expired, deleted, and unknown-status scratch orgs
--cleanRemove all local org authorizations for non-active orgs
-p, --nopromptDo not prompt for confirmation
--skipconnectionstatusSkip retrieving the connection status of non-scratch orgs