Installation
Learn how to install the SilverOTA CLI in your development environment.
Package Manager Installation
The SilverOTA CLI should be installed as a development dependency in your React Native project:
npm install -D @silverbullet-ota/cliyarn add -D @silverbullet-ota/clipnpm add -D @silverbullet-ota/cliGlobal Installation (Optional)
While not required, you can install the CLI globally for convenience:
npm install -g @silverbullet-ota/cliyarn global add @silverbullet-ota/clipnpm add -g @silverbullet-ota/cliTIP
We recommend local installation (dev dependency) to ensure all team members use the same CLI version and to avoid version conflicts.
Verification
Verify the installation:
npx silverbullet-ota --versionYou should see the version number displayed.
Using npx
If you installed locally (recommended), use npx to run commands:
npx silverbullet-ota login
npx silverbullet-ota deploy --platform iosIf installed globally, you can omit npx:
silverbullet-ota login
silverbullet-ota deploy --platform iosSystem Requirements
- Node.js: Version 18 or higher
- Operating Systems:
- macOS (Intel and Apple Silicon)
- Windows 10/11
- Linux (Ubuntu, Debian, Fedora, etc.)
Dependencies
The CLI will automatically install required packages when you run project init:
@silverbullet-ota/react-native- React Native SDK@silverbullet-ota/bareor@silverbullet-ota/expo- Build plugin
These packages are required for OTA functionality and will be added to your project's dependencies automatically.
Updating
To update to the latest version:
npm update @silverbullet-ota/cliyarn upgrade @silverbullet-ota/clipnpm update @silverbullet-ota/cliCheck the latest version on npm.
Next Steps
After installation: