---
schema_version: "1"
id: 8a801ae3f0df4a81bba199f312049505cc3b92059a854209d0ee4317644f662e
title: package list
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/salesforcedx/sfclireference/guides/package/cli_reference_package_list.md
canonical_url: https://developer.salesforce.com/docs/platform/salesforce-cli-reference/guide/cli_reference_package_list.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 04b9dcf2791a64adf8c228588e425b5d3e1aca072c385f189cb7a63a38893bf3
products:
  - Salesforce CLI Command Reference
  - salesforcedx
---
<!-- prettier-ignore-start -->

# package list

List all packages in the Dev Hub org.

## Description for package list

Description

## Aliases for package list

`force:package:list`

## Flags

| Flag Name (Long) | Flag Name (Short) | Description |
|------------------|-------------------|-------------|
| <code>&#8209;&#8209;api&#8209;version</code> | N/A | **Type:** Value<br><br>Override the api version used for api requests made by this command |
| <code>&#8209;&#8209;flags&#8209;dir</code> | N/A | **Type:** Value<br><br>Import flag values from a directory. |
| <code>&#8209;&#8209;json</code> | N/A | **Type:** Boolean<br><br>Format output as json. |
| <code>&#8209;&#8209;target&#8209;dev&#8209;hub</code> | <code>&#8209;v</code> | **Type:** Value<br>**Required**<br><br>Username or alias of the Dev Hub org. Not required if the `target-dev-hub` configuration variable is already set. |
| <code>&#8209;&#8209;verbose</code> | N/A | **Type:** Boolean<br><br>Display extended package detail. |

## Examples for package list

List all packages in the specified Dev Hub org:

```shell
sf package list --target-dev-hub devhub@example.com
```

List all packages details in the specified Dev Hub org, and show extended details about each package:

```shell
sf package list --target-dev-hub devhub@example.com --verbose
```
<!-- prettier-ignore-end -->
