After installing the Arduino IDE on MacOS (1.8.5), I am trying to run some commands in the terminal to flash the firmware on an Uno R3.
I have successfully connected and uploaded through the GUI, but would like to use the command line for the
johnny-five API (https://github.com/rwaldron/johnny-five/wiki/Getting-Started).
However, when running
arduino --install-library "Firmata,Servo"
I get the following error:
-bash: command not found
How do I install the command line interface?