CLI Overview
The Norrix CLI (@norrix/cli) provides command-line access to all Norrix platform features.
Installation
npm i -g @norrix/cliVerify:
norrix --versionGlobal Options
These options are available on all commands:
| Flag | Description |
|---|---|
--verbose | Enable verbose error output with stack traces |
--env <env> | Target Norrix environment: prod or dev (default: prod) |
--dev | Shortcut for --env dev |
--version | Show CLI version |
--help | Show help for command |
Command Categories
Build Operations
norrix build: Build your NativeScript app in the cloudnorrix build-status: Check the status of a build
Store Submissions
norrix submit: Submit your app to app storesnorrix submit-status: Check the status of a submission
OTA Updates
norrix update: Publish over-the-air updatesnorrix update-status: Check the status of an update
Organization Management
norrix orgs list: List organizations you belong tonorrix orgs select: Select default organizationnorrix orgs current: Show current organization
Environment Variables
norrix env set: Set an environment variablenorrix env set-file: Upload an environment filenorrix env list: List environment variablesnorrix env delete: Delete an environment variablenorrix env delete-file: Delete an environment file
Fingerprinting
norrix fingerprint: Print project fingerprintnorrix fingerprint compare: Compare fingerprints
Authentication
norrix sign-in: Authenticate with Norrix (alias:login)norrix sign-out: Sign out (alias:logout)norrix whoami: Show current user
Billing
norrix billing-checkout: Open Stripe Checkoutnorrix billing-portal: Open Billing Portal
Utilities
norrix upload: Upload a file to storage
Configuration File
The CLI supports a norrix.config.ts file for persistent configuration. See Configuration File for details.
Exit Codes
| Code | Meaning |
|---|---|
0 | Success |
1 | General error |
2 | Invalid arguments |