Airbrake Command Line Interface

We’ve just extended the Airbrake Gem to run from the command line. This make it easier to debug, create projects, raise exceptions and set deployments from the CLI.

You can use Airbrake from the command line, get the Airbrake Gem from Ruby Gems or from the Airbrake Repo.

This will raise RuntimeError with the message I’ve made a huge mistake by default. You can, of course, specify which exception class you want to raise.

You can save your api key in the environment if you’re annoyed by passing it as an argument, just set the AIRBRAKE_API_KEY. You can also use ENV[‘AIRBRAKE_API_KEY’] in your airbrake config block: config/initializers/airbrake.rb

Additionally, you can use this command line tool to list all your projects and find out corresponding ids and api-keys. Your AUTH_TOKEN is located by clicking the settings button when logged into Airbrake.

To do this, execute the following command:

If you need any additional help about this tool and how to use it, please refer to help:

Please create a GitHub issue if you have any problems with the command. Send any feature requests to