Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 60 lines (35 sloc) 1.525 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
5885cbf isaacs Update readme to reference super duper easy install script.
isaacs authored
9 To install npm, do this:
d49a887 isaacs add some more installation suggestions/options
isaacs authored
10
5885cbf isaacs Update readme to reference super duper easy install script.
isaacs authored
11 curl http://npmjs.org/install.sh | sh
d49a887 isaacs add some more installation suggestions/options
isaacs authored
12
57729b7 isaacs Documentation updates
isaacs authored
13 If it dies with a "Permission Denied" or EACCESS error, then that probably
14 means that you are running node in a shared root-owned location. In that
5885cbf isaacs Update readme to reference super duper easy install script.
isaacs authored
15 case, you'll have to use sudo.
57729b7 isaacs Documentation updates
isaacs authored
16
5885cbf isaacs Update readme to reference super duper easy install script.
isaacs authored
17 curl http://npmjs.org/install.sh | sudo sh
d49a887 isaacs add some more installation suggestions/options
isaacs authored
18
069a27c isaacs Add a simpler install process up near the top.
isaacs authored
19 ## More Fancy Installing
20
21 First, get the code. Maybe use git for this. That'd be cool. Very fancy.
22
bf84068 isaacs update make stuff in the README
isaacs authored
23 The default make target is `install`, which downloads the current stable
895281c isaacs Update install instructions.
isaacs authored
24 version of npm, and installs that for you.
069a27c isaacs Add a simpler install process up near the top.
isaacs authored
25
895281c isaacs Update install instructions.
isaacs authored
26 If you want to install the exact code that you're looking at, the bleeding-edge
27 master branch, do this:
28
bf84068 isaacs update make stuff in the README
isaacs authored
29 make dev
069a27c isaacs Add a simpler install process up near the top.
isaacs authored
30
31 If you'd prefer to just symlink in the current code so you can hack
32 on it, you can do this:
33
895281c isaacs Update install instructions.
isaacs authored
34 make link
35
36 If you check out the Makefile, you'll see that these are just running npm commands
37 at the cli.js script directly. You can also use npm without ever installing
38 it by using `./cli.js` instead of "npm".
069a27c isaacs Add a simpler install process up near the top.
isaacs authored
39
c71ae65 isaacs version notes for 0.1.11
isaacs authored
40 ## Uninstalling
41
42 So sad to see you go.
43
44 npm uninstall npm
45
46 Or, if that fails,
47
48 make uninstall
d9e9c14 isaacs Point developers to the docs
isaacs authored
49
50 ## More Docs
51
52 Check out the [docs](http://github.com/isaacs/npm/blob/master/doc/).
53
5885cbf isaacs Update readme to reference super duper easy install script.
isaacs authored
54 You can use the [npm help](http://github.com/isaacs/npm/blob/master/doc/help.md#readme)
55 command to read any of them.
56
d9e9c14 isaacs Point developers to the docs
isaacs authored
57 If you're a developer, and you want to use npm to publish your program,
58 you should
59 [read this](http://github.com/isaacs/npm/blob/master/doc/developers.md#readme)
Something went wrong with that request. Please try again.