First, flash the arduino_icsp.ino sketch to an Arduino. This was tested with a nano, but should work on most boards. The arduino-icsp programmer takes a simple ascii based command set, so ...