mousemove is a command line tool that allows you to move your mouse from the command line (on Mac OS X).
You'll need the mousemove binary, which is located here.
To use it, go to your terminal and navigate to the directory containing the mousemove binary. You'll most likely need to set the file to be executable:
chmod +x mousemove
Then type in this command:
./mousemove 200 500
This will move the mouse to the coordinates (200, 500) on your screen (x, y).
The code for mousemove was originally adapted from this article. Unfortunately, the utility provided there had limitations in that you couldn't specify negative coordinates (it would confuse the - sign with a named parameter), so I rewrote it to simply take ordered arguments.