#Tessel CLI
Tessel CLI is the command line interface for the Tessel microcontroller (http://tessel.io).
##Installation Node.js is a prerequisite for installing the Tessel command line. You can install it from the official website, or if you have brew installed:
brew install node
Once Node.js is installed, run this installation script from your terminal
npm install -g http://s3.amazonaws.com/builds.tessel.io/cli/tessel-cli-current.tar.gz
##Commands
#####tessel <filename>
#####tessel list
#####tessel logs
#####tessel push <filename> [options]
Push a file into flash memory (persists across power cycles).
Options:
-a, --args
Arguments to passin as process.argv-q, --quiet
[Tessel] Hide tessel deployment messages-m, --messages
[Tessel] Forward stdin as child process messages-l, --logs
[Tessel] Stay connected and print logs-s, --single
[Tessel] Push a single script file to Tessel-h, --help
Show usage for tessel push
#####tessel run <filename> [options]
Run a script temporarily without writing it to flash.
Options:
-a, --args
Arguments to passin as process.argv-i, --interactive
Enter the REPL-q, --quiet
[Tessel] Hide tessel deployment messages-m, --messages
[Tessel] Forward stdin as child process messages-l, --logs
[Tessel] Stay connected and print logs-s, --single
[Tessel] Push a single script file to Tessel-u --upload-dir
Directory where uploads from process.sendfile should be saved-v, --version
Print tessel-node's version-h, --help
Show usage for tessel push
#####tessel repl
Interactive JavaScript shell
#####tessel wifi -n <ssid> -p <password> [-s <security (wep/wpa/wpa2 by default)>]
Connects to wifi
#####tessel wifi -n <ssid>
Connects to a wifi network without a password
#####tessel wifi -l
See current wifi status
#####tessel stop
#####tessel check <filename>
Dumps tessel binary code
#####tessel dfu-restore [tag]
Uploads new firmware in DFU mode.
No tag given: list available tags
Relative or absolute filepath: push a local binary to tessel
#####tessel blink
Run test script to make LEDs blink back and forth
#####tessel update [--list] [-b build] [-u <url>]
Updates tessel to the newest released firmware. Optionally can list all builds. Can specify by build or url to download the firmware from
#####tessel debug [script]
Runs through debug script and uploads logs
#####tessel version
Show version of CLI
#####tessel version --board
Show version of the connected Tessel