Arduino Nano code Download with Averdude

The Arduino IDE is not designed for .hex files. Could you explain how you got the IDE to open the hex file from the barebone atmega328?

Please do not cross-post.