Private registry

A private registry for npm and Swift packages

Publish a package and only you, or your organization's members, can install it. The Hobby plan is free. Share or sell a package later from its settings.

Three commands to a private package

Sign in, publish, install. A new package is private from its first version.

Sign in

Run lpm login. The LPM CLI keeps the session in your system's keychain, and installs @lpm.dev packages with it.

Publish

Run lpm publish. It scans the package for secrets before it uploads, and the new package is private.

Install

Run lpm install. The registry checks your access to each package archive before it serves it.

Private means private

Only you, or the members of your organization, can find, view and install a private package.

An access check on every download

The LPM.dev Registry checks who is asking before it serves a package archive. Access follows current membership, so it ends when a member leaves.

Who can install
You, for a personal package. Your organization's members, for an organization's package.
Everyone else
They get the same answer as for a package that doesn't exist.
Your network
An organization can limit installs of its private packages to the IPv4 ranges it lists.
Read the distribution docs

No AI reads your private packages in the background

A private release skips the security review, because nobody else can install it. LPM sends no private package to automatic or background AI processing.

What still runs
The quality score, a check of the dependencies a release adds, and the validation that publishing needs. These are fixed code and not AI, and they run inside LPM's own infrastructure.
The one exception
Ask AI on lpm.dev can read your own private packages. When a search finds one, it sends the package's metadata to the AI provider.
If you go public
LPM reviews the latest version first, and the package stays private until a release passes.
Read how LPM uses AI

Works beside the registry you use now

Only @lpm.dev packages route to LPM. Every other package still installs from npmjs.org or the registry your .npmrc names.

Package manager
Run$lpm login$lpm install @lpm.dev/acme.design-system

No .npmrc needed. The LPM CLI installs with your lpm login session.

Pick your package manager

The LPM CLI installs private packages with your sign-in. npm, pnpm, Yarn and Bun need the @lpm.dev scope and a read token.

The scope
One line in your project's .npmrc sends @lpm.dev packages to LPM. Yarn 2 and later read it from .yarnrc.yml.
The token
A read token goes in ~/.npmrc, outside the project. lpm setup local can create it and write the configuration for you.
In CI
Store a read token as LPM_TOKEN. The LPM CLI reads it directly, and a step before the install writes it to ~/.npmrc for the other clients.
Read the authentication docs

For you, or for your team

Start free on your own, and add a team when you need one.

On your own

Hobby is free, with 2 private packages and 100 MiB of storage. Pro costs $10 a month for unlimited private packages and 5 GiB of storage.

Pro adds
Webhooks, a personal audit log and Free distribution.
More storage
On Pro, storage past the included amount costs $0.20 per GiB a month.
Packages that earn
A Pool or Marketplace package stops counting toward the Hobby limit once its first release is approved.
Compare the plans

With a team

An organization costs $10 per seat a month, with unlimited private packages and 5 GiB of storage for each seat.

Roles
Members install, Maintainers publish, Admins manage members and settings, and the Owner handles billing.
Controls
A required identity provider, a two-factor rule and an IP allowlist.
Billing
Its own subscription, separate from your personal plan.
More about organizations

Around every package

What comes with a package on the LPM.dev Registry, private or public.

Webhooks

On Pro, LPM sends 11 event types to your HTTPS endpoint, such as a publish or a new token. Each request is signed.

Audit logs

On Pro, your audit log records sign-ins, publishes, and token and settings changes. Search it and filter it by action and date.

CI and deploy tokens

Scope each token to read or publish, and to one package or tag if you like. Every token expires within 90 days.

CI publishing with no stored token

A trusted publisher lets a GitHub Actions or GitLab CI workflow publish new versions of a package with no stored token.

Revoke a release

Published the wrong build? Revoke the release within 30 minutes, before anyone else installs it, then publish that version number again.

Verified domain

Prove you control your domain with one DNS record. It then shows on your profile, your package pages and your package cards.

Public when you choose

A package leaves private only when you pick one of three public modes.

Share it or sell it later

Make a package Free, put it in the Pool or sell it on the Marketplace. It keeps its @lpm.dev name.

Free
Anyone can install it without an account. It needs a paid Pro or Organization plan.
The Pool
Pool subscribers install it, and you earn a share of each subscriber's fee.
The Marketplace
You set a price, and buyers pay through Stripe. LPM keeps 15% on Hobby and 10% on Pro and Organization.
The choice
It is permanent, and the package stays private until a release passes the security review.
Compare the four modes

JavaScript, source and Swift packages

One registry hosts all three, and each of them can be private.

Dependencies

A library that lpm install adds to your project, resolved with your other dependencies.

Source packages

Components and templates that lpm add copies into your project as files you own.

Learn more

A registry for Swift packages

Swift Package Manager installs LPM packages natively. LPM signs every Swift release, and Swift Package Manager checks the signature on download. A Swift package can be private, Free, in the Pool or on the Marketplace.

Frequently asked questions

How do I set up my project?

Run lpm login, and the LPM CLI installs @lpm.dev packages with that session. npm, pnpm, Yarn 1 and Bun need the @lpm.dev scope in your project's .npmrc and a read token in ~/.npmrc. You can add both lines yourself, or let lpm setup local create the token and write the configuration. Yarn 2 and later read the scope from .yarnrc.yml. In CI, store a token as LPM_TOKEN.

How many private packages can I have?

The Hobby plan includes 2 private packages with 100 MiB of storage. A package in the Pool or the Marketplace stops counting toward that limit once its first release is approved. Pro includes unlimited private packages with 5 GiB of storage, and the Organization plan includes unlimited private packages with 5 GiB of storage per seat.

Does LPM scan my private packages?

A private release skips the security review, and LPM sends no private package to automatic or background AI processing. The quality score and the dependency check still run, as fixed code. Ask AI can read your own private packages when you ask it.

Can I make a private package public later?

Yes. In the package's settings, move it to the Pool or the Marketplace, or make it Free on a paid Pro or Organization plan. The package stays private until a release passes the security review. The choice is permanent from the moment you make it.

Can I fix a version I published by mistake?

For 30 minutes after a publish, you can revoke a release that nobody outside your account or organization downloaded, and publish that version number again. After that, publish the fix as a new version, and unpublish or deprecate the old one. An unpublished version number stays used.

Does it host Swift packages?

Yes. The registry implements the Swift Package Registry API, and LPM signs every Swift release. lpm install adds a Swift package to Package.swift or an Xcode project, and sets up Swift Package Manager the first time it needs to.

Publish your first private package for free

Hobby includes 2 private packages at no cost. Go Pro for unlimited private packages at $10 a month.