Stanley from Arduinodev has created a command-line tool which compiles and uploads a sketch to an Arduino board without needing the IDE at all. There are versions for Windows and Linux available. It is a simple process and works for any sketches written for Arduino IDE v1.0.1. For example:
The target boards available are limited, however the most recent including Arduino Uno, Duemilanove and Mega are covered. Don't have one of these? Consider our range, including the Freetronics Eleven:
However don't take our word for it, you can find out more and download the software from the website here.