diff options
author | Dean Landolt <dean@deanlandolt.com> | 2011-09-07 01:59:49 +0400 |
---|---|---|
committer | Dean Landolt <dean@deanlandolt.com> | 2011-09-07 01:59:49 +0400 |
commit | e06ac6832d58722217244893b548b03436bd5687 (patch) | |
tree | 6f2508b7b43abba04f186aa9712468f8604fa193 /README.md | |
parent | 6f7ccb3d70002ebcb0e8979f31128bd567280521 (diff) |
add some ghetto windows install instructions
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 28 |
1 files changed, 28 insertions, 0 deletions
@@ -50,6 +50,34 @@ However, note that github tarballs **do not contain submodules**, so those won't work. You'll have to also fetch the appropriate submodules listed in the .gitmodules file. +### Installing on Windows + +The easiest way to get up and running with npm on Windows is clone the project +from github. If you don't already have git, +[install it](https://git.wiki.kernel.org/index.php/MSysGit:InstallMSysGit) and +run: + + git clone --recursive git://github.com/isaacs/npm + +If this fails with a message about "error setting certificate verify locations": + + git rm -rf npm + git config --system http.sslcainfo \\bin\curl-ca-bundle.crt + git clone --recursive git://github.com/isaacs/npm + cd npm + +Congratulations -- you should now have a (almost completely broken) npm install. +To run npm from the command line be sure to add it your PATH: + + set path="%PATH%;%CD%\bin" + +If available you can use `setx` to make this PATH addition permanent: + + setx path "%PATH%" + +Otherwise you can make this change manually in "Advanced System Settings". + + ## Permissions **tl;dr** |