Electrician or someone that can
I agree with Harrisonm on this. There are lots of information on the web. It is an easy job if you use the cautions and follow the electrical 'House Keeping' on running the wires. Only 1 hand in the electrical panel at a time, no exceptions. Hold both hands out to your sides and then think whats in the almost exact middle of your two hands. It goes Bump Bump.... Bump Bump
1. You have to know the amp draw.
2. You need to know the distance from the panel to the compressor.
With these two items of information you can then pick the wire gauge to run.
Now you also need a dedicated dual breaker of the correct amperage in the house/garage electrical panel.
Most codes call for like a 12-2 gauge or 10-2. In this wire you will use the insulated White and Black to the two HOT lugs on that dual breaker. The bare copper goes to the ground buss bar.
You are 8 hours away otherwise I'd ride over and hook you up for a beer and a good sandwich. ;)