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 create-build command reference for full usage information.
Symbol & mapping file uploads
Simplifies the upload of the various symbol and mapping files required to make your stacktraces readable in the BugSnag dashboard. Where possible files the files to upload are located automatically and the parameters, such as API key, located in project files. However all options can be overridden to allow you to customize the command for your build system.
Supported uploads with links to online docs for the file type:
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.
Update the command referenced in the missing bundle error message #195
FAQs
BugSnag CLI
The npm package @bugsnag/cli receives a total of 14,106 weekly downloads. As such, @bugsnag/cli popularity was classified as popular.
We found that @bugsnag/cli demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago.It has 8 open source maintainers collaborating on the project.
Package last updated on 29 Apr 2025
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.
Socket’s Threat Research Team has uncovered 60 npm packages using post-install scripts to silently exfiltrate hostnames, IP addresses, DNS servers, and user directories to a Discord-controlled endpoint.