# Licensing

> Free for non-commercial use. A commercial key removes the badge, checked offline.

Every package is free to install and use for non-commercial work. Commercial use needs a licence key. Without one, a production build shows a small "non-commercial" badge and logs one console message; on `localhost` nothing shows.

## Get a key

- **Solo** ($79 one-time): one developer seat, unlimited commercial projects.
- **Team** ($249 one-time): up to five developer seats in one organisation, with priority email support.
- Both include 12 months of updates, and you keep using every version released in that window. Compare tiers on the [pricing page](/pricing).

Checkout runs at `pay-solo.noddev.tech` and `pay-team.noddev.tech`. Your key is emailed instantly after checkout.

## Activate it

Run `activate` in your project. It checks the key offline, then saves it to `.env.local` under the variable your framework reads, and adds `.env.local` to `.gitignore` if it isn't there yet.

```bash
npx @vitrumui/cli activate <license-key>
```

- Next.js: `NEXT_PUBLIC_VITRUM_LICENSE_KEY`. Vite and TanStack Start: `VITE_VITRUM_LICENSE_KEY`. Anything else: `VITRUM_LICENSE_KEY`.
- `--dry-run` only checks the key, `--env-file <file>` writes somewhere other than `.env.local`, and `--cwd <dir>` points at another project.
- Add the same variable to your hosting provider's environment for production builds.

Or set the key in code, once, before the first glass component renders:

```tsx
import { setLicenseKey } from '@vitrumui/react'

setLicenseKey(import.meta.env.VITE_VITRUM_LICENSE_KEY)
```

`npx @vitrumui/cli doctor` reports whether a valid key is set.

## How the check works

- **Offline.** The key is a signed token checked against a public key inside `@vitrumui/core`. No network calls, no tracking.
- **Never in your way.** The check never throws, never blocks rendering and never disables a component. At worst you see the badge.
- **Updates.** A key covers every version released up to its update date. A version released later shows the badge until you renew.

> The full terms are in the [License Agreement](/license).

Source: /docs/licensing
