Never use PVC pipe for air lines. When it fails you get shrapnel. Copper pipe works fine, Black iron works fine, and specific Pex airline kits work fine.
I used black pipe for the short run of line to the regulator, filter, and hose reel (on the other side of the wall). The compressor sits...