Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 53 lines (33 sloc) 1.627 kb
492924c isaacs Move more of the documentation to ronn's domain
isaacs authored
1 # npm
4626dfa Initial drop. Ugly, sketchy, and not even yet quite a "work in progress...
isaacs authored
2
069a27c isaacs Add a simpler install process up near the top.
isaacs authored
3 This is just enough info to get you up and running.
b3f1673 isaacs another note pointing users to the documentation
isaacs authored
4
069a27c isaacs Add a simpler install process up near the top.
isaacs authored
5 More info available via `man npm`.
841f3b5 isaacs Move the installing section up to the top
isaacs authored
6
069a27c isaacs Add a simpler install process up near the top.
isaacs authored
7 ## Simple Install
841f3b5 isaacs Move the installing section up to the top
isaacs authored
8
886529f isaacs Don't tell people how to cd and mkdir, that's silly
isaacs authored
9 To install npm, create a folder where you want to put the code, and then
10 cd there, and do this:
d49a887 isaacs add some more installation suggestions/options
isaacs authored
11
886529f isaacs Don't tell people how to cd and mkdir, that's silly
isaacs authored
12 curl -L http://github.com/isaacs/npm/tarball/master | tar xz --strip 1
895281c isaacs Update install instructions.
isaacs authored
13 make
d49a887 isaacs add some more installation suggestions/options
isaacs authored
14
57729b7 isaacs Documentation updates
isaacs authored
15 If it dies with a "Permission Denied" or EACCESS error, then that probably
16 means that you are running node in a shared root-owned location. In that
17 case, you'll have to use sudo, and it'll behave like a multi-user app.
18
19 You can customize this behavior by using the `root` and `binroot` config
20 options. See npm-config(1)
d49a887 isaacs add some more installation suggestions/options
isaacs authored
21
069a27c isaacs Add a simpler install process up near the top.
isaacs authored
22 ## More Fancy Installing
23
24 First, get the code. Maybe use git for this. That'd be cool. Very fancy.
25
895281c isaacs Update install instructions.
isaacs authored
26 The default make target is `install-stable`, which downloads the current stable
27 version of npm, and installs that for you.
069a27c isaacs Add a simpler install process up near the top.
isaacs authored
28
895281c isaacs Update install instructions.
isaacs authored
29 If you want to install the exact code that you're looking at, the bleeding-edge
30 master branch, do this:
31
32 make install
069a27c isaacs Add a simpler install process up near the top.
isaacs authored
33
34 If you'd prefer to just symlink in the current code so you can hack
35 on it, you can do this:
36
895281c isaacs Update install instructions.
isaacs authored
37 make link
38
39 If you check out the Makefile, you'll see that these are just running npm commands
40 at the cli.js script directly. You can also use npm without ever installing
41 it by using `./cli.js` instead of "npm".
069a27c isaacs Add a simpler install process up near the top.
isaacs authored
42
82676f5 isaacs Add the note about installing waveto's node-crypto for Decipher/Cipher f...
isaacs authored
43 ## A note about password security
44
45 In order to publish your packages, you must have your auth info
46 saved into your .npmrc file. If Cipher and Decipher are supported
47 in the "crypto" module, then npm will use them. However, as of
48 node 0.1.92, these functions aren't integrated yet.
49
50 You can get around this by doing:
51
57729b7 isaacs Documentation updates
isaacs authored
52 npm install crypto@0.0.5
Something went wrong with that request. Please try again.