
Security News
PolinRider: North Korea-Linked Supply Chain Campaign Expands Across Open Source Ecosystems
PolinRider expands across npm, Packagist, Go modules, and Chrome extensions, using hidden loaders to target developer environments.
@d11/delivr-cli
Advanced tools
The Delivr CLI is a Node.js application that allows users to deploy and manage over-the-air updates for React Native applications.
npm install -g @d11/delivr-cli
After global installation, you can use the CLI directly:
code-push-standalone <command>
# Using npm
npm install --save-dev @d11/delivr-cli
# Using yarn
yarn add --dev @d11/delivr-cli
After project installation, you can use the CLI through npm/yarn:
# Using npm
npm run code-push-standalone <command>
# Using yarn
yarn code-push-standalone <command>
# Using npx
npx code-push-standalone <command>
Most commands require authentication. You'll need an access key to use the CLI.
# Login with access key
code-push-standalone login --accessKey <your-access-key>
# Check login status
code-push-standalone whoami
# Logout
code-push-standalone logout
To get an access key:
The release command allows you to deploy updates to your app. There are two types of updates you can release:
code-push-standalone release <appName> <updateContents> <targetBinaryVersion>
[--deploymentName <deploymentName>]
[--description <description>]
[--disabled <disabled>]
[--mandatory]
[--noDuplicateReleaseError]
[--rollout <rolloutPercentage>]
[--isPatch <true|false>] # Default false. Specify true in case sending patch bundle.
[--compression <'deflate' | 'brotli'>] # 'deflate' (default) or 'brotli' (better compression)
Parameters:
Required Parameters:
appName: Name of your app (e.g., "MyApp-iOS")updateContents: Path to your update files (bundle/assets)targetBinaryVersion: App store version this update is for. Can be:
Optional Parameters:
--deploymentName or -d: Target deployment ("Staging" or "Production", defaults to "Staging")--description or -des: Release notes or changelog--disabled: Prevents update from being downloaded (useful for staged rollouts)--mandatory: Forces users to accept this update--noDuplicateReleaseError: Shows warning instead of error if releasing same content--rollout: Percentage of users who should receive this update (1-100)--isPatch: Whether this is a patch update
false (default): Full bundle updatetrue: Patch update (requires patch bundle)--compression: Compression algorithm to use
deflate (default): Standard compressionbrotli: Better compression, smaller bundle sizeRelease a complete new bundle:
# Release to staging with deflate compression (default)
code-push-standalone release MyApp-iOS ./codepush 1.0.0 \
--deploymentName Staging \
--description "New features" \
--isPatch false
# Release with brotli compression (better compression)
code-push-standalone release MyApp-iOS ./dist/bundle "^1.0.0" \
--deploymentName Production \
--mandatory \
--isPatch false \
--compression brotli
Note about compression: Brotli typically achieves better compression ratios than deflate (e.g., 23.1MB → 8.14MB with Brotli vs 11.04MB with deflate).
For smaller updates, first create a patch and then release it:
code-push-standalone create-patch \
./old-bundle \
./new-bundle \
./.codepush/patches
# Release patch with brotli compression
code-push-standalone release MyApp-iOS ./.codeupush/patches "1.0.0" \
--deploymentName Staging \
--description "Bug fixes" \
--isPatch true \
--compression brotli
Note about patches: Patch updates significantly reduce the update size as they only contain the changes between versions. Always use
--isPatch truewhen releasing a patch bundle.
Note: Make sure to upload assets alongwith patch bundle.
For more details about the binary diff implementation, see bsdiff/README.md.
After testing in staging, promote to production:
# Basic promotion
code-push-standalone promote MyApp-iOS Staging Production
# Promotion with options
code-push-standalone promote MyApp-iOS Staging Production \
--rollout 25 \ # Release to 25% of users
--description "Verified update" # Update description
For information about contributing to Delivr CLI, please see our Contributing Guide.
Note: For additional commands and advanced features, see our Advanced Usage Guide.
FAQs
Management CLI for Delivr - deploy mobile app updates over-the-air
We found that @d11/delivr-cli demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 6 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
PolinRider expands across npm, Packagist, Go modules, and Chrome extensions, using hidden loaders to target developer environments.

Security News
Open source attacks are accelerating as AI coding agents pull in dependencies faster, with less human review.

Research
/Security News
Malicious Chrome and Firefox extensions posed as free VPNs while stealing clipboard data through later extension updates.