From e06ac6832d58722217244893b548b03436bd5687 Mon Sep 17 00:00:00 2001 From: Dean Landolt Date: Tue, 6 Sep 2011 17:59:49 -0400 Subject: add some ghetto windows install instructions --- README.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index 9ebb2e397..40e3ca026 100644 --- a/README.md +++ b/README.md @@ -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** -- cgit v1.2.3