Ino is a command line toolkit for working with Arduino hardware.
How to Install Ino on Ubuntu
Make sure you have Arduino IDE installed
$ sudo apt-get update & sudo apt-get install arduino arduino-core
Download Ino
$ git clone git://github.com/amperka/ino.git
Install with Python
$ cd ino
$ pip install ino
Reference : http://amperka.github.io/ino/
Running a Test Program
$ mkdir beep
$ cd beep
$ ino init -t blink
$ ino build
$ sudo ino upload
Reference : http://inotool.org/quickstart