CodePush CLI was a command-line interface designed for the CodePush cloud service, enabling Cordova and React Native developers to deploy mobile app updates directly to user devices. It facilitated over-the-air updates for JavaScript, HTML, CSS, and images, allowing for rapid bug fixes and minor feature additions without requiring new app store submissions. While the last version observed is v4.2.3, which primarily included vulnerability fixes, `code-push-cli` is officially deprecated and no longer supported. Users are strongly advised to migrate to `AppCenter-CLI` or other modern alternatives like `NextPush`, `DeployPulse`, or `Stallion` for continued service and support. Its original key differentiator was enabling swift iteration and a direct engagement model for hybrid app developers.
npm install code-push-cliVerified import paths — ran on the pinned version, not inferred.
Demonstrates the global installation of the CodePush CLI, account registration, adding applications, and performing a basic React Native release to a staging environment, highlighting its deprecated status.
Install `appcenter-cli` globally (`npm install -g appcenter-cli`) and use `appcenter codepush` commands. Alternatively, explore solutions like `NextPush` (`dpctl`), `Revopush` (`@revopush/code-push-cli`), or `Stallion` as drop-in replacements, following their respective migration guides.
If you absolutely must use `code-push-cli`, always update to the latest available version (`npm update -g code-push-cli`) to ensure you have the most recent security patches. Ideally, migrate to an actively maintained alternative.
Migrate to a actively maintained CodePush alternative that provides both a client SDK and a server backend (e.g., AppCenter, NextPush, DeployPulse, Revopush, Stallion, Codemagic, or a self-hosted solution) to ensure operational continuity.
Run `npm install -g code-push-cli`. If the issue persists on macOS/Linux, you might need `sudo npm install -g code-push-cli` or ensure npm's global bin path is in your shell's PATH environment variable.
Execute `code-push register` for initial setup, which launches a browser for authentication. If you have an existing account or access key, use `code-push login` or `code-push login --accessKey <YOUR_ACCESS_KEY>`.
Verify the application name for typos. Use `code-push app list` to see all applications registered under your account and their exact names. If the app doesn't exist, create it using `code-push app add <appName>`.
No dependency data recorded yet.