Stallion CLI is a unified command-line tool for deploying React Native bundles to Stallion servers. Current stable version is 2.4.3. Released actively on npm. It uses Commander.js for CLI parsing and provides commands for authentication, bundle upload, and configuration management. Key differentiator: purpose-built for Stallion deployment workflow, integrates with Stallion's console and API.
npm install stallion-cliVerified import paths — ran on the pinned version, not inferred.
Shows how to authenticate and upload a React Native bundle using Stallion CLI programmatically.
Use import() or switch to ESM. For CommonJS projects, use dynamic import: const stallion = await import('stallion-cli');Use 'stallion config set' instead.
Upgrade Node.js to v14 or higher.
Update stallion-cli to >=2.3.0. If you rely on the URL, update to 'https://api.stalliontech.io/v2'.
Run 'npm install -g stallion-cli' or install locally with 'npm install stallion-cli' and use npx.
Use dynamic import or switch project to ESM: 'type': 'module' in package.json.
Set STALLION_API_KEY to your valid Stallion API key. Obtain at https://console.stalliontech.io/settings/api-keys