Marketplace

Set your price, sell your code

Publish a package, set a price, and buyers install it with lpm install. LPM runs checkout through Stripe and checks each buyer's license on every install.

From package to paid install

Connect a Stripe payout account. Then three steps take a package to its first sale.

Set your price

Charge once, monthly or yearly, in US dollars. Price a plan per seat or for a whole organization, and add as many plans as you want.

Publish

Choose the Marketplace in your package's settings. The choice is permanent. LPM reviews each release, and once one passes, buyers can find, buy and install the package.

Get paid

Buyers pay through Stripe, into your own Stripe account. LPM takes its fee from each payment, and your Revenue page lists every sale.

Licenses for one developer or a whole organization

The LPM.dev Registry checks the buyer's license, seat or organization membership before it serves the package. Buyers sign in to the LPM CLI. They don't enter a license key.

Individual license

You set a price per developer. A developer buys one for themselves, or an organization buys seats and assigns one to each member.

Organization license

The organization pays one price, and every member has access, including members who join later.

Commercial license

Let buyers bundle your package inside their own Marketplace packages. Mark one pricing plan as commercial, and the registry checks for it when they publish.

Seat management

An organization buys up to 1,000 seats in one checkout. Its Owner and Admins assign seats, and revoke a seat to give it to someone else.

Learn more

What LPM keeps

LPM's fee is 15% of the price before tax on Hobby, and 10% on Pro and Organization.

What a month of these sales leaves you on each plan
Hobby15% feePro10% fee
LPM's fee−$75.00−$50.00
Plan price$0.00−$10.00
What's left$425.00$440.00

Pro leaves you $15.00 more a month.

Not in these numbers

  • Stripe's processing fees. Stripe sets them, and they apply separately.
  • Tax. Stripe adds it at checkout on top of your price, and reporting it stays with you.
  • Rounding. LPM rounds its fee to the cent on each payment, so a month of many small payments can differ by a little.

Work out your fee

Enter what you sell in a month, and see what is left on Hobby and on Pro.

Each payment
LPM takes the fee from each payment, renewals included, as a Stripe application fee.
When Pro pays off
Pro costs $10 a month, so it pays for itself at about $200 a month in sales.
Organization
An organization's packages pay 10% too. The plan costs $10 per seat a month.
Storage on Hobby
A package that earned more than $50 in sales stops counting toward your 100 MiB of storage.
Read the Marketplace docs

For buyers

Buy a package on its page, sign in to the LPM CLI and install it.

The total before you pay

Choose a plan on the package's page. Checkout shows the price, the tax for your location and the total before you pay.

The seller
Checkout names the seller by the business name of their Stripe payout account. Your card statement shows the same name.
Held terms
Checkout reserves an order's terms for 15 minutes, and refunds a payment that does not match them.
Paid dependencies
If a package needs another paid package as a peer dependency, add it to the same order. Each package is a separate payment to its seller.
Organizations
The Owner or an Admin buys, for up to 1,000 seats in one checkout.
Read the checkout docs

Install it like any other package

Run lpm login with the account that holds the license, then lpm install. The LPM.dev Registry checks the license on every install.

One-time purchase
Covers every version, including future releases, with no end date.
Subscription
Covers the same versions for each paid period.
Refunds
A full refund removes the access. A partial refund does not change it.
Read the lpm install reference

Every release is reviewed

LPM reviews every public version before anyone can install it.

A review before buyers get a release

The review runs checks on the release's files, an AI security model that decides the verdict, and a check of the release's dependencies.

The verdict
A clean release is released. A suspicious one is released with its findings on the package page and in the LPM CLI. A malicious one is rejected.
While it waits
Version ranges and latest keep giving your buyers the last released version.
Your own test
You can install your own waiting release by its exact version.
See how distribution modes work

Sell any kind of package

Package type and distribution mode are separate choices.

A dependency

A library that buyers install with lpm install, like any other dependency in their project.

A source package

lpm add copies the files into the buyer's project. The buyer needs a current license to download them.

Learn more

A Swift package

Swift Package Manager resolves it natively. LPM signs every Swift release, and Swift Package Manager checks the signature on download.

Know when you sell

Follow your sales from your own systems, and your installs from the dashboard.

Webhooks for sales

On Pro and Organization, a webhook tells your endpoint when a package is purchased and when a subscription is created, renewed or cancelled.

Download analytics

Daily downloads, installers and top versions for each package, on every plan.

Frequently asked questions

How do I set prices for my packages?

Connect a Stripe payout account first. Then add pricing plans in the package's settings, under "Distribution & monetization". Each plan is a one-time fee or a monthly or yearly subscription in US dollars, priced per seat or for a whole organization.

What are the platform fees?

The fee is a share of the price before tax, at the rate of the package owner's plan when each payment is made: 15% on Hobby, or 10% on Pro and Organization. Hobby is free, Pro costs $10 a month, and Organization costs $10 per seat a month. LPM takes the fee from each payment, renewals included, as a Stripe application fee. If an organization's payment fails and its 9-day grace period ends, its sales and renewals pay the Hobby rate until it pays again.

Who handles tax on my sales?

Stripe calculates the tax at checkout from the buyer's location and adds it to your price. You are the seller, and buyers pay into your own Stripe account, so your tax registration and reporting stay with you. LPM is not the merchant of record.

What's a commercial license?

A commercial license lets the buyer bundle your package inside their own Marketplace packages. The LPM.dev Registry checks for it when they publish. To offer one, select "Commercial license (allows bundling)" when you add a pricing plan. A package can have one commercial plan at a time, and your package's license sets the legal terms.

Can organizations buy licenses?

Yes. The organization's Owner or an Admin makes the purchase. With an individual license, they buy up to 1,000 seats at once and assign them to members. With an organization license, they pay one price and every member has access, including members who join later.

Is switching to Marketplace permanent?

Yes. Once you choose Marketplace, the package can't move to another distribution mode or go back to private, and you can't delete it. Archiving it stops new purchases, and buyers who already paid can still install it.

What happens after a refund?

When a purchase is fully refunded, LPM removes the buyer's access. A partial refund does not change access.

How is the Marketplace different from the Pool?

On the Marketplace, you set the price and each buyer pays you for your package. In the Pool, a package has no price of its own. Subscribers pay $12 a month to install every Pool package, and 80% of each subscriber's fee is split among the authors of the Pool packages that subscriber installs.

Sell your first package on the free plan

Start on Hobby with a 15% fee. Move to Pro when your sales pass about $200 a month.