Simplify the process of creating releases on the BugSnag dashboard and uploading files to improve the stacktraces in your errors with our command line tool.
Installation
The binaries are available on our GitHub releases page for macOS, Linux and Windows.
cURL / Wget
To install or upgrade to the latest binary for your architecture, you can also run the following cURL or Wget commands:
See the upload android-ndk command reference for full usage information.
Android Proguard mapping flies
If you are using ProGuard, DexGuard, or R8 to minify and optimize your app, this command uploads the mapping file along with version information from your project directory:
To get unminified stack traces for JavaScript code in your React Native app built for Android, source maps must be generated and can be uploaded to BugSnag using the following command from the root of your project:
If you are stripping debug symbols from your Dart code when building your Flutter apps, you will need to upload symbol files in order to see full stacktraces using the following command:
If you are using BugSnag On-premise, you should use the --build-api-root-url and --upload-api-root-url options to set the URL of your build and upload servers, for example:
bugsnag-cli upload \
--upload-api-root-url https://bugsnag.my-company.com/
# ... other options
Most updates to this repo will be made by Bugsnag employees. We are unable to accommodate significant external PRs such as features additions or any large refactoring, however minor fixes are welcome. See contributing for more information.
License
This package is free software released under the MIT License. See license for details.