Configure your ReUI license key for premium registry installs.
Use this guide when you want to install premium ReUI registry items with the shadcn CLI. Free components do not require a license key, but premium blocks, icons, and templates do.
Your License Key
Use the license key from your ReUI account:
CLI Installation
This is the recommended setup for premium registry installs.
Prerequisites
A React project with shadcn/ui initialized
Node.js 18 or newer
A components.json file in your project root
Add your license key
Put it in .env.local in the root of your project:
REUI_LICENSE_KEY=your-license-key-here
Point components.json at the @reui registry
Update components.json to use the authenticated @reui registry config:
The shadcn CLI expands ${REUI_LICENSE_KEY} from your environment, so leave it as a variable here. A ReUI MCP server entry is a separate config with its own rules, and they differ by client: Claude Code expands ${VAR} in .mcp.json, Cursor only understands the env: prefix (${env:NAME}), Codex reads the value from bearer_token_env_var, and Antigravity's mcp_config.json documents no substitution at all, so there the real token gets pasted in. Check your agent's guide before copying this line across, and create a token at Account → MCP.
Install registry items
Install from the same namespace:
pnpm dlx shadcn@latest add @reui/c-data-grid-1
Free components continue to work with the authenticated config, so you do not need a second registry namespace.
Manual Copy & Paste
Prefer to browse and copy code directly instead of using the CLI?