Distribution modes

Decide who can install each package

Every package on LPM starts private. Keep it that way, or release it as Free, to the Pool or on the Marketplace.

Private

Every package you publish starts private. Only you, or the members of your organization, can find it, view it and install it.

Who can install it
You, or the members of your organization.
What you earn
Nothing. A private package has no buyers.
What it needs
Any plan. Hobby includes 2 private packages, and Pro and Organization have no limit.
Can it change later
Yes, once. Move it to Free, the Pool or the Marketplace when you're ready.
More about the private registry

Free

Release a package as Free, and anyone can install it with no account. LPM reviews each release before it goes public.

Who can install it
Anyone, with no account.
What you earn
Nothing. Nobody pays to install a Free package.
What it needs
A paid Pro or Organization plan. Every LPM.dev dependency of the package must be Free too.
Can it change later
No. The choice is permanent. A Free release is permanent too, once it's public.
Read how Free distribution works

The Pool

One $12 a month subscription installs every Pool package. 80% of each subscriber's fee goes to the authors of the packages that subscriber installs.

Who can install it
Pool subscribers.
What you earn
A part of the fee of each subscriber who installs your package. The Pool packages it depends on earn too.
What it needs
Any plan, Hobby included. A Pool package can't depend on a Marketplace package.
Can it change later
No. The choice is permanent.
More about the Pool

Marketplace

Set your own price. Sell once or as a subscription, per seat or at one rate for a whole organization.

Who can install it
Buyers with a license. They sign in, and the registry checks the license on every install.
What you earn
Each sale, less LPM's fee: 15% on Hobby, and 10% on Pro and Organization. Stripe's processing fee is separate.
What it needs
Any plan, a connected Stripe account and at least one pricing plan.
Can it change later
No. The choice is permanent.
More about the Marketplace

What happens when you go public

Free, the Pool and the Marketplace take the same three steps.

You choose once

Pick the mode in the package's settings, under "Distribution & monetization". The choice is permanent from that moment. The package can't go back to private, switch to another mode or be deleted.

LPM reviews the release

The package stays private while LPM reviews its latest version. A clean release is released. A suspicious one is released with its findings shown. A malicious one is rejected.

Each new version is reviewed too

While a new version waits for its review, version ranges and latest keep resolving to the last released version. You can install the waiting version yourself, by its exact number, to test it.

Frequently asked questions

Can I move a package back to private?

No. Once you choose Free, the Pool or the Marketplace, the package can't go back to private, switch to another mode or be deleted. The rule applies from the moment you choose, before the first release is approved. You can still publish new versions, deprecate releases and archive the package.

Can one package use two modes?

No. A package has one distribution mode: private, Free, the Pool or the Marketplace.

Does a public package cost me a private package slot?

Only until its first release is approved. Hobby includes 2 private packages, and every package starts private. When a release of a Pool or Marketplace package passes its review, the package stops counting toward that limit.

What happens to my Free packages if my paid plan ends?

The releases you already published stay downloadable. After 30 days without a paid plan, LPM marks the package as deprecated. A renewal clears that schedule.

Can a public package depend on a private one?

No. A private LPM.dev dependency blocks public distribution. A Free package can depend only on Free LPM.dev packages. A Pool package can depend on Free and Pool packages. Dependencies from npm are outside these rules.

Do source packages and Swift packages have the same modes?

Yes. The package type and the distribution mode are separate choices. A dependency package, a source package or a Swift package can be private, Free, in the Pool or on the Marketplace.

Start private. Go public when you're ready.

The Hobby plan is free, and signing up needs no credit card. It includes 2 private packages, and it can publish to the Pool and the Marketplace.