Why do my macs require me to type sudo before command line installs?
For example, the Yeoman website says to run the command npm install -g yo but it fails unless I type sudo as a prefix sudo npm install -g yo.
The same thing happens while installing compass or nodejs.
It's not like typing sudo is a big deal, but it appears not everyone is required to follow this step.
Is there something I can do to avoid this? 
