NEW
A service that stores, indexes, and distributes versioned software packages for build, development, and deployment workflows.
DESCRIPTION
A package registry hosts package artifacts and metadata, enabling discovery, caching, and controlled distribution. Public registries like npm, PyPI, and Maven Central power ecosystems; private registries enforce governance, mirror dependencies, and reduce external risk. Registries support authentication, access policies, immutability, and signatures. They are core to CI/CD pipelines and supply chain security practices.
ALTERNATIVE DEFINITIONS
npm
The npm registry is a public collection of packages of JavaScript code.
Emphasizes public collection of JavaScript packages.
Python Packaging Authority
The Python Package Index (PyPI) is a repository of software for the Python programming language.
Defines PyPI’s role as the canonical Python repository.
RELATED TERMS
npm Registry PyPI Maven Central Artifact Repository Package Manager Supply Chain Security SBOM Versioning Provenance
COMPETING TERMS
KNOWLEDGE AREAS
Platform & Tooling Software Engineering Infrastructure Collaboration
TARGET AUDIENCE
DevOps Engineer Software Developer MLOps Engineer Application Administrator IT Manager
EXTERNAL SOURCES
- Wikipedia - Software repository
- Apache Maven Central - Canonical Java artifact repository
- GitHub - GitHub Packages documentation
- GitLab - GitLab Package Registry guide
TOP QUESTIONS
Why use a private Package Registry?
It enforces governance, caches external dependencies, improves build reliability, and reduces exposure to public supply chain risks.
Category: Relevancy
How do Package Registries integrate with CI/CD?
Builds publish artifacts to registries; deployments consume versions via authenticated pulls. Policies enforce immutability and approvals.
Category: HowTo
What metadata do registries store?
Package names, versions, checksums, signatures, dependency manifests, and maintainers. This supports integrity and provenance tracking.
Category: Concepts
What are common Package Registry mistakes?
Allowing mutable versions, weak authentication, and no retention policies. These jeopardize reproducibility and security.
Category: Mistakes
How to secure a Package Registry?
Use signed packages, RBAC, audit logs, and IP allowlists. Mirror critical dependencies and verify checksums in pipelines.
Category: Security
What’s the difference between Package Registry and Container Registry?
Package registries store language artifacts (npm, PyPI); container registries store OCI images. Both provide versioning and distribution.
Category: Comparison
What policies improve Package Registry hygiene?
Immutability, retention lifecycles, naming conventions, and mandatory SBOMs. Enforce publishing workflows via CI.
Category: BestPractices
How do teams migrate registries?
Export artifacts and metadata, update package sources, and validate builds. Use proxies to phase transitions safely.
Category: Requirements
What is a hot topic around Package Registries?
Provenance attestations (SLSA) and mandatory signatures combat supply chain threats in large ecosystems.
Category: Topic