1- npm(1) -- node package manager
1+ npm(1) -- a JavaScript package manager
22==============================
33[ ![ Build Status] ( https://img.shields.io/travis/npm/npm/master.svg )] ( https://travis-ci.org/npm/npm )
44## SYNOPSIS
@@ -36,11 +36,11 @@ paths, etc.) then read on.
3636## Fancy Install (Unix)
3737
3838There's a pretty robust install script at
39- < https://www.npmjs.org /install.sh > . You can download that and run it.
39+ < https://www.npmjs.com /install.sh > . You can download that and run it.
4040
4141Here's an example using curl:
4242
43- curl -L https://npmjs.org /install.sh | sh
43+ curl -L https://npmjs.com /install.sh | sh
4444
4545### Slightly Fancier
4646
@@ -62,43 +62,23 @@ arbitrary config keys using the `./configure --key=val ...`, and then
6262run npm commands by doing ` node cli.js <cmd> <args> ` . (This is helpful
6363for testing, or running stuff without actually installing npm itself.)
6464
65- ## Fancy Windows Install
65+ ## Windows Install or Upgrade
6666
67- You can download a zip file from < https://npmjs.org/dist/ > , and unpack it
67+ You can download a zip file from < https://github.com/npm/npm/releases > , and unpack it
6868in the same folder where node.exe lives.
6969
70+ The latest version in a zip file is 1.4.12. To upgrade to npm 2, follow the
71+ Windows upgrade instructions in the npm Troubleshooting Guide:
72+
73+ < https://github.com/npm/npm/wiki/Troubleshooting#upgrading-on-windows >
74+
7075If that's not fancy enough for you, then you can fetch the code with
7176git, and mess with it directly.
7277
7378## Installing on Cygwin
7479
7580No.
7681
77- ## Permissions when Using npm to Install Other Stuff
78-
79- ** tl;dr**
80-
81- * Use ` sudo ` for greater safety. Or don't, if you prefer not to.
82- * npm will downgrade permissions if it's root before running any build
83- scripts that package authors specified.
84-
85- ### More details...
86-
87- As of version 0.3, it is recommended to run npm as root.
88- This allows npm to change the user identifier to the ` nobody ` user prior
89- to running any package build or test commands.
90-
91- If you are not the root user, or if you are on a platform that does not
92- support uid switching, then npm will not attempt to change the userid.
93-
94- If you would like to ensure that npm ** always** runs scripts as the
95- "nobody" user, and have it fail if it cannot downgrade permissions, then
96- set the following configuration param:
97-
98- npm config set unsafe-perm false
99-
100- This will prevent running in unsafe mode, even as non-root users.
101-
10282## Uninstalling
10383
10484So sad to see you go.
@@ -173,13 +153,13 @@ help config` to learn about all the options you can set there.
173153
174154## More Docs
175155
176- Check out the [ docs] ( https://www .npmjs.org/doc / ) ,
177- especially the [ faq] ( https://www .npmjs.org/doc /faq.html ) .
156+ Check out the [ docs] ( https://docs .npmjs.com / ) ,
157+ especially the [ faq] ( https://docs .npmjs.com/misc /faq ) .
178158
179159You can use the ` npm help ` command to read any of them.
180160
181161If you're a developer, and you want to use npm to publish your program,
182- you should [ read this] ( https://www .npmjs.org/doc /developers.html )
162+ you should [ read this] ( https://docs .npmjs.com/misc /developers )
183163
184164## Legal Stuff
185165
@@ -199,7 +179,7 @@ specific purpose, or lack of malice in any given npm package.
199179
200180If you have a complaint about a package in the public npm registry,
201181and cannot [ resolve it with the package
202- owner] ( https://www .npmjs.org/doc/ misc/npm- disputes.html ) , please email
182+ owner] ( https://docs .npmjs.com/ misc/disputes ) , please email
203183< [email protected] > and explain the situation.
204184
205185Any data published to The npm Registry (including user account
@@ -228,8 +208,6 @@ When you find issues, please report them:
228208
229209* web:
230210 < https://github.com/npm/npm/issues >
231- * email:
232- 233211
234212Be sure to include * all* of the output from the npm command that didn't work
235213as expected. The ` npm-debug.log ` file is also helpful to provide.
0 commit comments