Skip to main content
Introducing packages.sweber.dev
Documentation menuCLI

CLI

Create key pairs, issue, verify and inspect licenses from the terminal.

npx integral keygen                 # prints INTEGRAL_PUBLIC_KEY and INTEGRAL_PRIVATE_KEY
npx integral keygen --out ./keys    # writes two files, the private one with mode 600
npx integral issue --product my-app --plan pro \
  --feature beta --limit projects=100 --limit seats=unlimited \
  --email kunde@example.ch --name "Kunde AG" \
  --updates-until 2027-10-05
OptionMeaning
--private-key, --private-key-fileSigning key. Default: INTEGRAL_PRIVATE_KEY
--featureExtra feature, repeatable
--limit key=nLimit override, unlimited for no limit, repeatable
--seatsNumber of seats
--email, --name, --customer-idCustomer
--expiresHard expiry
--updates-untilEnd of updates
--id, --kidLicense id, key id
npx integral verify <license> --public-key <key> --product my-app   # exit code 0 or 1
npx integral inspect <license>                                       # shows the content, unchecked
echo "$LICENSE" | npx integral verify - --public-key "$INTEGRAL_PUBLIC_KEY"