package version list

List all package versions in the Dev Hub org.

Description

force:package:version:list

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.

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:

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

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

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

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:

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

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