---
schema_version: "1"
id: efca12d1bb293c38ecef37080db01c4b1815e6573ca0532cf657eab7366ebe7e
title: Package IDs
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/platform-pkg-exchange/managed_packaging/guides/first-generation/build-first-gen-dx/sfdx-dev-build-package-ids.md
canonical_url: https://developer.salesforce.com/docs/platform/pkg1-dev/guide/sfdx-dev-build-package-ids.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 3c0688da2814ad8a4b1223f5db0e1fd57ec05f17411592821f6c497aab9f4b4b
products:
  - First-Generation Managed Packaging Developer Guide
  - merged-docs
---

# Package IDs

When you work with packages using the CLI, the package IDs refer either to a unique package or a unique package version.

The relationship of package version to package is one-to-many.

| ID Example      | Description                 | Used Where                                                                                                                                                                                                   |
| --------------- | --------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| 033xx00000007oi | Metadata Package ID         | Generated when you create a package. A single package can have one or more associated package version IDs. The package ID remains the same, whether it has a corresponding beta or released package version. |
| 04tA000000081MX | Metadata Package Version ID | Generated when you create a package version.                                                                                                                                                                 |
