diff options
author | isaacs <i@izs.me> | 2012-08-14 20:27:28 -0700 |
---|---|---|
committer | isaacs <i@izs.me> | 2012-08-14 20:27:28 -0700 |
commit | 3ccee087597c6a14c1b171d43a618c10889d4169 (patch) | |
tree | 5fa6ce0f7c3a7402c6138eba01495aa4a851d14d /deps/npm/man | |
parent | 2c13cbbc0b43287dfb86aef91e402a0719363e11 (diff) | |
download | node-new-3ccee087597c6a14c1b171d43a618c10889d4169.tar.gz |
npm: Upgrade to 1.1.49
- node-gyp@0.6.5
- abstracted-out configs
- publishing over proxies
- bugfixes to all the deps
Diffstat (limited to 'deps/npm/man')
-rw-r--r-- | deps/npm/man/man1/README.1 | 100 | ||||
-rw-r--r-- | deps/npm/man/man1/list.1 | 2 | ||||
-rw-r--r-- | deps/npm/man/man1/npm.1 | 2 | ||||
-rw-r--r-- | deps/npm/man/man3/npm.3 | 2 |
4 files changed, 18 insertions, 88 deletions
diff --git a/deps/npm/man/man1/README.1 b/deps/npm/man/man1/README.1 index 4d4fa06a78..4fec26e57a 100644 --- a/deps/npm/man/man1/README.1 +++ b/deps/npm/man/man1/README.1 @@ -36,69 +36,19 @@ If you want a more fancy pants install (a different version, customized paths, etc\.) then read on\. . .SH "Fancy Install (Unix)" -To install npm with one command, do this: -. -.IP "" 4 -. -.nf -curl http://npmjs\.org/install\.sh | sh -. -.fi -. -.IP "" 0 -. -.P -To skip the npm 0\.x cleanup, do this: -. -.IP "" 4 -. -.nf -curl http://npmjs\.org/install\.sh | clean=no sh -. -.fi -. -.IP "" 0 -. -.P -To say "yes" to the 0\.x cleanup, but skip the prompt: -. -.IP "" 4 -. -.nf -curl http://npmjs\.org/install\.sh | clean=yes sh -. -.fi -. -.IP "" 0 -. -.P -If you get permission errors, you\'ll need to \fBrun\fR the script as root\. -(Note, just putting \fBsudo\fR in front of the \fBcurl\fR will \fBfetch\fR the script -as root\.) +There\'s a pretty robust install script at \fIhttps://npmjs\.org/install\.sh\fR\|\. You can download that and run it\. . .SS "Slightly Fancier" You can set any npm configuration params with that script: . -.IP "" 4 -. -.nf -curl http://npmjs\.org/install\.sh | npm_config_prefix=/some/path sh -. -.fi -. -.IP "" 0 +.P +npm\fIconfig\fRprefix=/some/path sh install\.sh . .P Or, you can run it in uber\-debuggery mode: . -.IP "" 4 -. -.nf -curl http://npmjs\.org/install\.sh | npm_debug=1 sh -. -.fi -. -.IP "" 0 +.P +npm_debug=1 sh install\.sh . .SS "Even Fancier" Get the code with git\. Use \fBmake\fR to build the docs and do other stuff\. @@ -121,36 +71,6 @@ git, and mess with it directly\. .SH "Installing on Cygwin" No\. . -.SH "Dev Install" -To install the latest \fBunstable\fR development version from git: -. -.IP "" 4 -. -.nf -git clone https://github\.com/isaacs/npm\.git -cd npm -sudo make install # (or: `node cli\.js install \-gf`) -. -.fi -. -.IP "" 0 -. -.P -If you\'re sitting in the code folder reading this document in your -terminal, then you\'ve already got the code\. Just do: -. -.IP "" 4 -. -.nf -sudo make install -. -.fi -. -.IP "" 0 -. -.P -and npm will install itself\. -. .SH "Permissions when Using npm to Install Other Stuff" \fBtl;dr\fR . @@ -258,6 +178,16 @@ you have chosen\. If you would like to use npm programmatically, you can do that\. It\'s not very well documented, but it \fIis\fR rather simple\. . +.P +Most of the time, unless you actually want to do all the things that +npm does, you should try using one of npm\'s dependencies rather than +using npm itself, if possible\. +. +.P +Eventually, npm will be just a thin cli wrapper around the modules +that it depends on, but for now, there are some things that you must +use npm itself to do\. +. .IP "" 4 . .nf diff --git a/deps/npm/man/man1/list.1 b/deps/npm/man/man1/list.1 index 6c2834ce37..65db45c02a 100644 --- a/deps/npm/man/man1/list.1 +++ b/deps/npm/man/man1/list.1 @@ -29,7 +29,7 @@ For example, running \fBnpm ls promzard\fR in npm\'s source tree will show: .IP "" 4 . .nf -npm@1.1.48 /path/to/npm +npm@1.1.49 /path/to/npm └─┬ init\-package\-json@0\.0\.4 └── promzard@0\.1\.5 . diff --git a/deps/npm/man/man1/npm.1 b/deps/npm/man/man1/npm.1 index 914077d780..522d451aa2 100644 --- a/deps/npm/man/man1/npm.1 +++ b/deps/npm/man/man1/npm.1 @@ -14,7 +14,7 @@ npm <command> [args] .fi . .SH "VERSION" -1.1.48 +1.1.49 . .SH "DESCRIPTION" npm is the package manager for the Node JavaScript platform\. It puts diff --git a/deps/npm/man/man3/npm.3 b/deps/npm/man/man3/npm.3 index e6443fc204..cdbccc90cd 100644 --- a/deps/npm/man/man3/npm.3 +++ b/deps/npm/man/man3/npm.3 @@ -21,7 +21,7 @@ npm\.load(configObject, function (er, npm) { .fi . .SH "VERSION" -1.1.48 +1.1.49 . .SH "DESCRIPTION" This is the API documentation for npm\. |