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