diff options
author | isaacs <i@izs.me> | 2010-04-26 04:16:02 +0400 |
---|---|---|
committer | isaacs <i@izs.me> | 2010-04-26 04:16:02 +0400 |
commit | 0ce99a3f883923040aeae4b37fe6c70d9ebc0349 (patch) | |
tree | d7d826905fba9b78a603ed3afdb282d4f8ac2a5c /doc | |
parent | 5ba234438c32330587baad6f1687fd9af1d7cffa (diff) |
Somehow lost the install doc. Restored
Diffstat (limited to 'doc')
-rw-r--r-- | doc/install.md | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/doc/install.md b/doc/install.md index e69de29bb..653f594ef 100644 --- a/doc/install.md +++ b/doc/install.md @@ -0,0 +1,19 @@ +npm-install(1) -- install a package +=================================== + +## SUMMARY + + npm install <tarball> + +## DESCRIPTION + +This installs the package, where `tarball` is a url or path to a `.tgz` file +that contains a package with a `package.json` file in the root. + +This'll create some stuff in `$HOME/.node_libraries`. It supports installing +multiple versions of the same thing. + +From here, you can do `require("foo-1.2.3")` where "foo" is the name of the +package, and "1.2.3" is the version you installed. + +Installing by name and version alone is planned for the next version. |