Newer Version Available

This content describes an older version of this product. View Latest

View Package Details

View the details of previously created packages and package versions from the command line.
To display a list of all packages in the Dev Hub org, use this command.
1sf package list --target-dev-hub my-hub

You can view the namespace, package name, ID, and other details in the output.

1Name              Id                  Alias           Description  Type
2───────────────   ──────────────────  ──────────────  ───────────  ───────────  ───────
3Expenser App      0HoB00000004CzRKAU  Expenser App                 Unlocked
4Expenser Logic    0HoB00000004CzMKAU  Expenser Logic               Unlocked
5Expenser Schema   0HoB00000004CzHKAU  Expenser Schema              Unlocked

Include optional parameters to filter the list results based on the modification date, creation date, and to order by specific fields or package IDs. To limit the details, use --concise. To show expanded details, use --verbose.

To display a list of all package versions in the Dev Hub org, use this command.

1sf package version list --target-dev-hub my-hub

You can view the namespace, version name, and other details in the output.

1Package Name      Namespace  Version  Sub Pkg Ver Id       Alias                    Installation Key  Released  
2───────────────  ──────────  ───────  ───────────────────  ───────────────────────  ─────────────────  ───────
3Expenser Schema              0.1.0.1  04tB0000000719qIAA   Expenser Schema@0.1.0-1   false             true
4Expenser Schema              0.2.0.1  04tB000000071AjIAI   Expenser Schema@0.2.0-1   false             true
5Expenser Schema              0.3.0.1  04tB000000071AtIAI   Expenser Schema@0.3.0-1   false             false
6Expenser Schema              0.3.0.2  04tB000000071AyIAI   Expenser Schema@0.3.0-2   false             true
7Expenser Schema              0.3.1.1  04tB0000000KGU6IAO   Expenser Schema@0.3.1-1   false             false
8Expenser Schema              0.3.1.2  04tB0000000KGUBIA4   Expenser Schema@0.3.1-2   false             true
9Expenser Schema              0.3.2.1  04tB0000000KGUQIA4   Expenser Schema@0.3.2-1   false             true
10Expenser Logic               0.1.0.1  04tB0000000719vIAA   Expenser Logic@0.1.0-1    false             true
11Expenser App                 0.1.0.1  04tB000000071A0IAI   Expenser App@0.1.0-1      false             true