0
0
mirror of https://github.com/nodejs/node.git synced 2024-11-30 23:43:09 +01:00
nodejs/deps/npm/man/man3/install.3
isaacs 054127112c Upgrade npm to 1.1.3
* Update request to support HTTPS-over-HTTP proxy tunneling
* Throw on undefined envs in config settings
* Update which to 1.0.5
* Fix windows UNC busyloop in findPrefix
* Bundle nested bundleDependencies properly
* Alias adduser to add-user
* Doc updates  (Christian Howe, Henrik Hodne, Andrew Lunny)
* ignore logfd/outfd streams in makeEnv() (Rod Vagg)
* shrinkwrap: Behave properly with url-installed deps
* install: Support --save with url install targets
* Support installing naked tars or single-file modules from urls etc.
* init: Don't add engines section
* Don't run make clean on rebuild
* Added missing unicode replacement (atomizer)
2012-03-02 09:31:46 -08:00

30 lines
744 B
Groff

.\" Generated with Ronnjs/v0.1
.\" http://github.com/kapouer/ronnjs/
.
.TH "NPM\-INSTALL" "3" "March 2012" "" ""
.
.SH "NAME"
\fBnpm-install\fR \-\- install a package programmatically
.
.SH "SYNOPSIS"
.
.nf
npm\.commands\.install([where,] packages, callback)
.
.fi
.
.SH "DESCRIPTION"
This acts much the same ways as installing on the command\-line\.
.
.P
The \'where\' parameter is optional and only used internally, and it specifies
where the packages should be installed to\.
.
.P
The \'packages\' parameter is an array of strings\. Each element in the array is
the name of a package to be installed\.
.
.P
Finally, \'callback\' is a function that will be called when all packages have been
installed or when an error has been encountered\.