You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by Apache Wiki <wi...@apache.org> on 2014/01/08 16:04:31 UTC
[Cordova Wiki] Update of "npm_rc" by AndrewGrieve
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Cordova Wiki" for change notification.
The "npm_rc" page has been changed by AndrewGrieve:
https://wiki.apache.org/cordova/npm_rc?action=diff&rev1=2&rev2=3
+ = Using nvm =
+
+ Not sure if this works on Windows.
+ {{{
+ curl https://raw.github.com/creationix/nvm/master/install.sh | sh
+ source ~/.bash_profile
+ nvm install 0.10
+ nvm alias default 0.10
+ }}}
+
+ This will put all of your node modules within your home directory, and so will not require SUDO at all.
+
+
= .npmrc =
To install modules for [[https://nodejs.org|Node.js]], you use [[https://npmjs.org|npm]], which has a configuration file `.npmrc`.