# Package Registry

> A website that keeps packages so anyone can get them by name.

**Field:** Software Development  
**Category:** Editors & Tools  
**Also known as:** Package Repository, Package Index, PyPI

## Think of it like

It is like a big library. Anyone can take a book out, and some people can add new ones.

## Definition

A package registry is a website that stores packages so anyone can download them. Each language has its main one. JavaScript has the npm registry. Python has the Python Package Index, called PyPI. Your package manager asks it for a name and a version, then gets it. Companies also run their own, kept private.

## Example

Jack types pip install requests. pip asks PyPI for the requests package and downloads the newest version.

## Why it matters

It is where almost every package comes from. If a bad package gets in, every project that installs it gets the bad code too.

## Common mistake

Trusting a package just because it is on the registry. Anyone can publish, so check the name, the author and how much it is used.

## Three principles

- **One per language.** npm for JavaScript, PyPI for Python.
- **Anyone can publish.** So check before you install.
- **Private ones too.** Teams host their own code the same way.

## Related terms

- [Software Package](https://learn.benibix.com/term/development/software-package)
- [Package Manager](https://learn.benibix.com/term/development/package-manager)
- [npm](https://learn.benibix.com/term/development/npm)
- [pip](https://learn.benibix.com/term/development/pip)
- [Supply Chain Attack](https://learn.benibix.com/term/development/supply-chain-attack)
- [MCP Registry](https://learn.benibix.com/term/ai/mcp-registry)

## Told apart from

- [Package Registry vs Package Manager](https://learn.benibix.com/compare/package-registry-vs-package-manager): People think the package manager and the package registry are one thing, since both are often called npm. They are not. The registry is the website that stores the packages. The package manager is the tool on your computer that downloads them and puts them in your project.
- [MCP Registry vs Package Registry](https://learn.benibix.com/compare/mcp-registry-vs-package-registry): People think the MCP Registry is like npm for MCP servers. It is not. A package registry such as npm or PyPI stores the code you download. The MCP Registry stores no code at all. It holds a short listing for each server, with its name and where to get it, and that points back to npm, PyPI, Docker Hub or a web address.

## Taught in

- [Package Managers, npm and pip](https://learn.benibix.com/learn/development-tools/package-managers-npm-and-pip): Coding Tools, 8/13

![A package registry, drawn as a big shelf of named boxes, on the left. An arrow marked install runs to a package manager in the middle. It writes two things into the project on the right: the packages themselves, and a lockfile that lists the exact version of each one, such as left-pad 1.3.0. A second computer reads the same lockfile and gets the same versions.](https://learn.benibix.com/diagrams/dev-package-flow.svg)

---

Source: https://learn.benibix.com/term/development/package-registry
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-17
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
