package version list

List all package versions in the Dev Hub org.

Description for package version list 

Description

Aliases for package version list 

force:package:version:list

Flags 

Flag Name (Long)Flag Name (Short)Description
‑‑api‑versionN/AType: Value

Override the api version used for api requests made by this command
‑‑branch‑bType: Value

Branch in your source control system used to filter the results; only package versions based on the specified branch are listed.
‑‑conciseN/AType: Boolean

Display limited package version details.
‑‑created‑last‑days‑cType: Value

Number of days since the request was created, starting at 00:00:00 of first day to now. Use 0 for today.
‑‑flags‑dirN/AType: Value

Import flag values from a directory.
‑‑jsonN/AType: Boolean

Format output as json.
‑‑modified‑last‑days‑mType: Value

Number of days since the items were modified, starting at 00:00:00 of first day to now. Use 0 for today.
‑‑order‑by‑oType: Value

Package version fields used to order the list.
‑‑packages‑pType: Value

Comma-delimited list of packages (aliases or 0Ho IDs) to list.
‑‑released‑rType: Boolean

Display released versions only (IsReleased=true).
‑‑show‑conversions‑onlyN/AType: Boolean

Filter the list output to display only converted package version.
‑‑target‑dev‑hub‑vType: Value
Required

Username or alias of the Dev Hub org. Not required if the target-dev-hub configuration variable is already set.
‑‑verboseN/AType: Boolean

Display extended package version details.

Examples for package version list 

List package versions in your default Dev Hub org that were created in the last 3 days; show only the released versions and order the list using the PatchVersion field. Display extended details about each package version:

1sf package version list --verbose --created-last-days 3 --released --order-by PatchVersion

List the released package versions for the two specified packages that were modified today; use the Dev Hub org with username devhub@example.com:

1sf package version list --packages 0Ho000000000000,0Ho000000000001 --released --modified-last-days 0 --target-dev-hub devhub@example.com

List all released package versions in your default Dev Hub org:

1sf package version list --released

List package versions that were modified today in your default Dev Hub org; show limited details about each one:

1sf package version list --concise --modified-last-days 0

List package versions that are based on the “featureA” branch in your source control system that were modified today in your default Dev Hub org; show limited details about each one:

1sf package version list --concise --modified-last-days 0 --branch featureA

List released package versions that were created in the last 3 days in your default Dev Hub org; show limited details:

1sf package version list --concise --created-last-days 3 --released

List released package versions that were modified today for the two packages with specified aliases in your default Dev Hub org:

1sf package version list --packages exp-mgr,exp-mgr-util --released --modified-last-days 0