NerionX
Log inApply
← NerionX

Guide

  • Introduction
  • Getting started

API reference

  • Hub API
  • Brand Kit API

Tools

  • CLI
OpenAPIApply as a pharmacy

CLI

Install the NerionX CLI, configure credentials, and provision databases and env files for your pharmacy.

NerionX CLI

Configure Hub credentials once in ~/.nerionx/config.json, then provision each approved pharmacy. The CLI creates the Spoke database, runs migrations, and writes .env.<slug> with database URL, brand ID, and API key placeholders.

Workflow

  1. Build the CLI from the monorepo and set hubUrl + apiKey
  2. Run nerionx provision with your approved slug
  3. Load .env.<slug> and start the Spoke dev server
  4. Sync catalog via Hub API, then test checkout end-to-end

Commands & scripts

Install from monorepo
bash
# From the NerionX repo root
pnpm install
pnpm --filter @nerionx/cli build

# Optional: link globally
node packages/cli/bin/nerionx.js --help
Configure CLI
bash
nerionx config set hubUrl http://localhost:9000
nerionx config set apiKey nx_live_your_key
nerionx config set defaultSlug city-pharmacy
nerionx config get
Provision after approval
bash
nerionx provision \
  --slug city-pharmacy \
  --locale en \
  --domain city-pharmacy.local
Start the brand server
bash
env $(grep -v '^#' .env.city-pharmacy | xargs) \
  pnpm --filter @nerionx/spoke dev

Command reference

  • nerionx config set|get— Persist hubUrl, apiKey, and defaultSlug in ~/.nerionx/config.json
  • nerionx provision— Post-approval deploy — Spoke DB, migrations, .env.<slug>, Hub wiring
  • nerionx brand:create— Lower-level Spoke provisioning without Hub sync
  • nerionx hub status— Verify Hub connectivity before provisioning
  • nerionx ssl check|request— DNS and SSL checklist for production domains
  • nerionx theme export|import— Sync design tokens between dashboard and Brand Kit

NerionX

Pharmacy commerce platform — catalog, orders, and fulfillment on NerionX Hub.

Developers

  • Documentation
  • Getting started
  • Hub API
  • Brand Kit API
  • CLI reference
  • OpenAPI

Platform

  • Apply as a pharmacy
  • Log in
  • Home

Legal

  • Privacy Policy
  • Terms of Service
© 2026 NerionX · Privacy · Terms