Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDean Landolt <dean@deanlandolt.com>2011-09-07 01:59:49 +0400
committerDean Landolt <dean@deanlandolt.com>2011-09-07 01:59:49 +0400
commite06ac6832d58722217244893b548b03436bd5687 (patch)
tree6f2508b7b43abba04f186aa9712468f8604fa193 /README.md
parent6f7ccb3d70002ebcb0e8979f31128bd567280521 (diff)
add some ghetto windows install instructions
Diffstat (limited to 'README.md')
-rw-r--r--README.md28
1 files changed, 28 insertions, 0 deletions
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**