Mbed Linux CLI
Command-line interface for developing with Mbed Linux

The Mbed Linux CLI is a toolbox for managing target devices running Mbed Linux.
Prerequisites
Node.js > v8.10.0, which includes npm v3
Installation
The CLI is distributed using npm. To install the tool globally:
$ npm install -g mbl-cli
Usage
$ mbl-cli <command> [arguments]
Options
- -v, --version - Show version number
- -h, --help - Show help
Commands
Discovery and Select
Discover connected Mbed Linux devices and allow the user to select one for further commands.
$ mbl-cli select
Shell
Obtain a shell on a device, optionally specifying the device address to use
$ mbl-cli shell [address]
Run
Run a remote command on a device, optionally specifying the device address to use
$ mbl-cli run <command> [address]
Get
Copy a file from a device, optionally specifying the device address to use
$ mbl-cli get <src> <dest> [address]
Put
Copy a file to a device, optionally specifying the device address to use
$ mbl-cli put <src> <dest> [address]
Application Management
Application management commands.
$ mbl-cli app <command> [address]
Commands:
Start the application on a device.
$ mbl-cli app start [address]
Stop the application on a device.
$ mbl-cli app stop [address]
Restart the application on a device.
$ mbl-cli app restart [address]
Implementation Status