Command-line tools
Introducing the NervesHub command-line tools aka. the CLI.
Last updated
Was this helpful?
Introducing the NervesHub command-line tools aka. the CLI.
Last updated
Was this helpful?
The easiest way to install is via .
The second easiest is via curl:ing a shell script.
More details and alternative installation methods are available in .
To set your NervesHub instance to use with the CLI, use this command, replacing the specific URL with your instance:
You need to be authorized with the NervesHub instance, you get that via:
If you want to pass fewer arguments on later calls we can recommend setting up some environment variables in your shell.
Usually that means ~/.bashrc
or ~/.zshrc
. The most commonly needed is the org:
You can start with the help function which gives you a lot of your options:
To list devices for example:
This should get you started with the CLI.