Use copper, iron, or PEX pipe. Never use PVC pipe for air line. It fragments like a grenade when it breaks & is brittle.
Only set the compressor for the pressure you need. Don't get something compressing to 175psi if you only need 100psi. Lots of wasted energy & CFM doing unnecessary work.
Not all 5hp compressors are equal. Many are way over rated. When comparing, look at the CFM they deliver at a standard pressure. To some degree you can also compare amp ratings. Most motors are similar efficiency, so more amps means more power.
I got a good 5hp Quincy with an 80 gallon tank. Cost a fair bit more than a 5hp Quincy at the farm store, but has more power & what not. In all fairness most of the "5hp" 60 or 80 gallon units are good for a lot of home shops & a good deal.