detect npm -g off of whether npm is in /home or not