Packages
Depot Packages gives your team a place to publish private packages and install dependencies through Depot with your existing package managers.
Follow the quickstart to create a private repository and publish a package, or use one of the built-in repositories.
Choose where packages come from
Each repository belongs to your organization and contains one package format. Choose a repository based on what you need:
| Repository type | Use it to | Publishing |
|---|---|---|
| Private | Store packages your team publishes | Yes |
| Cache | Fetch dependencies from an upstream registry and reuse cached downloads | No |
| Virtual | Install private packages and upstream dependencies through one endpoint | When publishing to a Private source is enabled |
To create a repository, see manage repositories.
Private repositories
Publish your team’s internal packages to a Private repository. Install those packages with your existing package manager.
Cache repositories
Use a Cache repository to install dependencies from an upstream registry. Depot stores downloaded files and reuses them for later requests. Create a repository for a custom upstream, or use one of the built-in repositories below.
Built-in repositories
Depot provides built-in Cache repositories for common public registries, such as npm and PyPI. You can use a built-in cache repo without creating it. Configure your package manager to use it with the guide for your package manager.
Administrators can change the policies and retention of a built-in cache repo. They can't change its upstream URL or delete it.
Virtual repositories
A Virtual repository combines Private and Cache repositories of the same format behind one endpoint. Your team can install private packages and upstream dependencies from a single registry URL.
You can also publish through a Virtual repository. Depot stores published packages in a Private source that you choose. To set one up, see combine private and upstream packages.
Security advisories
Depot Packages checks upstream package names and versions against security advisories from OSV.dev. You can view malicious-package warnings, vulnerability severity, and fixed versions in the Depot dashboard without configuring a policy. Checks cover Cargo, Composer, Maven, npm, NuGet, PyPI, and RubyGems packages supplied by Cache repositories. Private packages aren't included.
Advisory findings don't block downloads by default. Add a policy at the organization, format, or repository level to block malicious packages or vulnerabilities at a chosen severity threshold. See view advisory findings and block versions with security advisories.
Share a repository with your team
Every package request requires authentication, including requests to built-in caches. Use your personal Depot login for local development. Your organization role determines what you can do. Members can install and publish; readers can install. Creating repositories and changing their configuration requires owner or administrator access. Every member can use repository setup instructions.
For automation, use an existing Depot job or runner token when available. See authentication and CI before adding credentials to a workflow. To publish from another CI system without a stored token, use trusted publishing.
To combine private and upstream packages, control dependency policies, or manage retention, see manage repositories.