Flash .hex files on Atmega without Arduino IDE

Download XLoader.

Select your .hex file.

Select your device, com port and baud rate.

Click upload.