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 Ancestry
View Package Ancestor Details in Salesforce CLI
Use the sf package version report or sf package version list command to view the name and version number of the package ancestor.
Output from sf package version report command.

Output from sf package version list command.
Visualize Package Ancestry
Use the displayancestry CLI command to create visualizations of your package or package version’s ancestry tree. You can view the visualization in Salesforce CLI or use the dot-code parameter to generate output that can be used in graph visualization software.
Use sf package version displayancestry to quickly visualize your package ancestry and understand the possible package upgrade paths.


To generate dotcode output, specify sf package version displayancestry --dot-code.