Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.

View Package Details for a Second-Generation Managed Package

View the details of previously created second-generation managed packages 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.

1Namespace Prefix  Name              Id                  Alias         Description  Type
2───────────────   ────────────────  ──────────────────  ────────────  ───────────  ───────
3db_exp_manager    Expenser App      0HoB00000004CzRKAU  Expenser App               Managed
4db_exp_manager    Expenser Logic    0HoB00000004CzMKAU  Expenser Logic             Managed
5db_exp_manager    Expenser Schema   0HoB00000004CzHKAU  Expenser Schema            Managed

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 The verbose parameter displays these additional details.

  • Created By
  • Error Notification Username
  • Subscriber Package ID