You don't need the Arduino IDE, you can simply use a Makefile and write your C code as long as you have avr-gcc, avr-libc and avrdude installed! make # compile and generate main.hex make flash # flash it to the Arduino nano