Change TMP directory?

How can I change where the tmp directory is? On OSX it puts it in a hidden folder which I would like access to. I would like it to be compiled in folder in the root of my drive.

How do I make this change?