Changed npm prefix to ~/.npm on linux to avoid sudo