Mention sudo might be required for npm config

This will depend on how you've installed and configured npm in the
PATH

Refs #2342
This commit is contained in:
Kevin Sawicki
2014-06-05 09:59:00 -07:00
parent b6056a44e2
commit b6fc17e363

View File

@@ -11,7 +11,9 @@ Ubuntu LTS 12.04 64-bit is the recommended platform.
* on Ubuntu/Debian: `sudo apt-get install libgnome-keyring-dev`
* on Fedora: `sudo yum --assumeyes install libgnome-keyring-devel`
* on other distributions refer to the manual on how to install packages
* `sudo npm config set python /usr/bin/python2 -g` to ensure that gyp uses Python 2
* `npm config set python /usr/bin/python2 -g` to ensure that gyp uses Python 2
* This command may require `sudo` depending on how you have
[configured npm](https://github.com/joyent/node/wiki/Installing-Node.js-via-package-manager#ubuntu-mint-elementary-os).
## Instructions