To install the CNC machine on a arduino you can:
use the Arduino IDE (current tested version 1.8.1)
download the "hex" and upload it to the arduino
please use http://www.hobbytronics.co.uk/arduino-xloader or equivalent tools to upload the programm