npm 4.5.0

a package manager for JavaScript

Homepage: https://docs.npmjs.com/

Platform: npm

Language: JavaScript

License: Artistic-2.0

Keywords: package manager, modules, install, package.json

Repository: git+https://github.com/npm/npm.git

View on registry: https://www.npmjs.com/package/npm

Direct download link: https://registry.npmjs.org/npm/-/npm-4.5.0.tgz

Install: npm install [email protected]


npm(1) -- a JavaScript package manager

Build Status

SYNOPSIS

This is just enough info to get you up and running.

Much more info available via npm help once it's installed.

IMPORTANT

You need node v4 or higher to run this program.

To install an old and unsupported version of npm that works on node v0.12 and prior, clone the git repo and dig through the old tags and branches.

npm is configured to use npm, Inc.'s public package registry at https://registry.npmjs.org by default.

You can configure npm to use any compatible registry you like, and even run your own registry. Check out the doc on registries.

Use of someone else's registry may be governed by terms of use. The terms of use for the default public registry are available at https://www.npmjs.com.

Super Easy Install

npm is bundled with node.

Windows Computers

Get the MSI. npm is in it.

Apple Macintosh Computers

Get the pkg. npm is in it.

Other Sorts of Unices

Run make install. npm will be installed with node.

If you want a more fancy pants install (a different version, customized paths, etc.) then read on.

Fancy Install (Unix)

There's a pretty robust install script at https://www.npmjs.com/install.sh. You can download that and run it.

Here's an example using curl:

curl -L https://www.npmjs.com/install.sh | sh

Slightly Fancier

You can set any npm configuration params with that script:

npm_config_prefix=/some/path sh install.sh

Or, you can run it in uber-debuggery mode:

npm_debug=1 sh install.sh

Even Fancier

Get the code with git. Use make to build the docs and do other stuff. If you plan on hacking on npm, make link is your friend.

If you've got the npm source code, you can also semi-permanently set arbitrary config keys using the ./configure --key=val ..., and then run npm commands by doing node cli.js <cmd> <args>. (This is helpful for testing, or running stuff without actually installing npm itself.)

Windows Install or Upgrade

Many improvements for Windows users have been made in npm 3 - you will have a better experience if you run a recent version of npm. To upgrade, either use Microsoft's upgrade tool, download a new version of Node, or follow the Windows upgrade instructions in the npm Troubleshooting Guide.

If that's not fancy enough for you, then you can fetch the code with git, and mess with it directly.

Installing on Cygwin

No.

Uninstalling

So sad to see you go.

sudo npm uninstall npm -g

Or, if that fails,

sudo make uninstall

More Severe Uninstalling

Usually, the above instructions are sufficient. That will remove npm, but leave behind anything you've installed.

If you would like to remove all the packages that you have installed, then you can use the npm ls command to find them, and then npm rm to remove them.

To remove cruft left behind by npm 0.x, you can use the included clean-old.sh script file. You can run it conveniently like this:

npm explore npm -g -- sh scripts/clean-old.sh

npm uses two configuration files, one for per-user configs, and another for global (every-user) configs. You can view them by doing:

npm config get userconfig   # defaults to ~/.npmrc
npm config get globalconfig # defaults to /usr/local/etc/npmrc

Uninstalling npm does not remove configuration files by default. You must remove them yourself manually if you want them gone. Note that this means that future npm installs will not remember the settings that you have chosen.

More Docs

Check out the docs,

You can use the npm help command to read any of them.

If you're a developer, and you want to use npm to publish your program, you should read this

BUGS

When you find issues, please report them:

Be sure to include all of the output from the npm command that didn't work as expected. The npm-debug.log file is also helpful to provide.

You can also look for isaacs in #node.js on irc://irc.freenode.net. She will no doubt tell you to put the output in a gist or email.

SEE ALSO

  • npm(1)
  • npm-help(1)
  • npm-index(7)

Dependencies Requirements Latest Stable Latest Release Licenses
abbrev ~1.1.0 1.1.0 1.1.0 ISC
ansicolors ~0.3.2 0.3.2 0.3.2 MIT
ansi-regex ~2.1.1 2.1.1 2.1.1 MIT
ansistyles ~0.1.3 0.1.3 0.1.3 MIT
aproba ~1.1.1 1.1.1 1.1.1 ISC
archy ~1.0.0 1.0.0 1.0.0 MIT
asap ~2.0.5 2.0.5 2.0.5 MIT
bluebird ~3.5.0 3.5.0 3.5.0 MIT
call-limit ~1.1.0 1.1.0 1.1.0 ISC
chownr ~1.0.1 1.0.1 1.0.1 ISC
cmd-shim ~2.0.2 2.0.2 2.0.2 BSD-2-Clause
columnify ~1.5.4 1.5.4 1.5.4 MIT
config-chain ~1.1.11 1.1.11 1.1.11 MIT
debuglog * 1.0.1 1.0.1 MIT
dezalgo ~1.0.3 1.0.3 1.0.3 ISC
editor ~1.0.0 1.0.0 1.0.0 MIT
fstream ~1.0.11 1.0.11 1.0.11 ISC
fstream-npm ~1.2.0 1.2.0 1.2.0 ISC
fs-vacuum ~1.2.10 1.2.10 1.2.10 ISC
fs-write-stream-atomic ~1.0.10 1.0.10 1.0.10 ISC
glob ~7.1.1 7.1.1 7.1.1 ISC
graceful-fs ~4.1.11 4.1.11 4.1.11 ISC
has-unicode ~2.0.1 2.0.1 2.0.1 ISC
hosted-git-info ~2.4.1 2.4.1 2.4.1 ISC
iferr ~0.1.5 0.1.5 0.1.5 MIT
imurmurhash * 0.1.4 0.1.4 MIT
inflight ~1.0.6 1.0.6 1.0.6 ISC
inherits ~2.0.3 2.0.3 2.0.3 ISC
ini ~1.3.4 1.3.4 1.3.4 ISC
init-package-json ~1.9.5 1.9.5 1.9.5 ISC
JSONStream ~1.3.1 1.3.1 1.3.1 Apache-2.0
lazy-property ~1.0.0 1.0.0 1.0.0 MIT
lockfile ~1.0.3 1.0.3 1.0.3 ISC
lodash._baseindexof * 3.1.0 3.1.0 MIT
lodash._baseuniq ~4.6.0 4.6.0 4.6.0 MIT
lodash._bindcallback * 3.0.1 3.0.1 MIT
lodash._cacheindexof * 3.0.2 3.0.2 MIT
lodash.clonedeep ~4.5.0 4.5.0 4.5.0 MIT
lodash._createcache * 3.1.2 3.1.2 MIT
lodash._getnative * 3.9.1 3.9.1 MIT
lodash.restparam * 3.6.1 3.6.1 MIT
lodash.union ~4.6.0 4.6.0 4.6.0 MIT
lodash.uniq ~4.5.0 4.5.0 4.5.0 MIT
lodash.without ~4.4.0 4.4.0 4.4.0 MIT
mississippi ~1.3.0 1.3.0 1.3.0 BSD-2-Clause
mkdirp ~0.5.1 0.5.1 0.5.1 MIT
move-concurrently ~1.0.1 1.0.1 1.0.1 ISC
node-gyp ~3.6.0 3.6.0 3.6.0 MIT
nopt ~4.0.1 4.0.1 4.0.1 ISC
normalize-git-url ~3.0.2 3.0.2 3.0.2 ISC
normalize-package-data ~2.3.6 2.3.5 2.3.5 BSD-2-Clause
npm-cache-filename ~1.0.2 1.0.2 1.0.2 ISC
npm-install-checks ~3.0.0 3.0.0 3.0.0 BSD-2-Clause
npmlog ~4.0.2 4.0.2 4.0.2 ISC
npm-package-arg ~4.2.1 4.2.0 4.2.0 ISC
npm-registry-client ~8.1.0 8.0.2 8.0.2 ISC
npm-user-validate ~0.1.5 0.1.5 0.1.5 BSD-2-Clause
once ~1.4.0 1.4.0 1.4.0 ISC
opener ~1.4.3 1.4.3 1.4.3 MIT
osenv ~0.1.4 0.1.4 0.1.4 ISC
path-is-inside ~1.0.2 1.0.2 1.0.2 MIT
read ~1.0.7 1.0.7 1.0.7 ISC
readable-stream ~2.2.6 2.2.6 2.2.6 MIT
read-cmd-shim ~1.0.1 1.0.1 1.0.1 ISC
readdir-scoped-modules * 1.0.2 1.0.2 ISC
read-installed ~4.0.3 4.0.3 4.0.3 ISC
read-package-json ~2.0.5 2.0.5 2.0.5 ISC
read-package-tree ~5.1.5 5.1.5 5.1.5 ISC
realize-package-specifier ~3.0.3 3.0.3 3.0.3 ISC
request ~2.81.0 2.81.0 2.81.0 Apache-2.0
retry ~0.10.1 0.10.1 0.10.1 MIT
rimraf ~2.6.1 2.6.1 2.6.1 ISC
semver ~5.3.0 5.3.0 5.3.0 ISC
sha ~2.0.1 2.0.1 2.0.1 MIT
slide ~1.1.6 1.1.6 1.1.6 ISC
sorted-object ~2.0.1 2.0.1 2.0.1 MIT
sorted-union-stream ~2.1.3 2.1.3 2.1.3 MIT
strip-ansi ~3.0.1 3.0.1 3.0.1 MIT
tar ~2.2.1 2.2.1 2.2.1 ISC
text-table ~0.2.0 0.2.0 0.2.0 MIT
uid-number 0.0.6 0.0.6 0.0.6 ISC
umask ~1.1.0 1.1.0 1.1.0 MIT
unique-filename ~1.1.0 1.1.0 1.1.0 ISC
unpipe ~1.0.0 1.0.0 1.0.0 MIT
update-notifier ~2.1.0 2.1.0 2.1.0 BSD-2-Clause
uuid ~3.0.1 3.0.1 3.0.1 MIT
validate-npm-package-license * 3.0.1 3.0.1 Apache-2.0
validate-npm-package-name ~3.0.0 3.0.0 3.0.0 ISC
which ~1.2.14 1.2.13 1.2.13 ISC
wrappy ~1.0.2 1.0.2 1.0.2 ISC
Explore the resolved dependency tree for npm 4.5.0
Development Dependencies Requirements Latest Stable Latest Release Licenses
deep-equal ~1.0.1 1.0.1 1.0.1 MIT
marked ~0.3.6 0.3.6 0.3.6 MIT
marked-man ~0.2.0 0.2.0 0.2.0 MIT
npm-registry-couchapp ~2.6.12 2.6.12 2.6.12 ISC
npm-registry-mock ~1.1.0 1.1.0 1.1.0 BSD-2-Clause
require-inject ~1.4.0 1.4.0 1.4.0 ISC
sprintf-js ~1.0.3 1.0.3 1.0.3 BSD-3-Clause
standard ~6.0.8 9.0.2 10.0.0-beta.2 MIT
tacks ~1.2.6 1.2.6 1.2.6 ISC
tap ~10.3.0 10.3.1 10.3.1 ISC
Explore the resolved development dependency tree for npm 4.5.0

Releases

4.5.0 March 24, 2017
4.4.4 March 16, 2017
4.4.3 March 16, 2017
4.4.2 March 10, 2017
4.4.1 March 06, 2017
4.4.0 February 24, 2017
4.3.0 February 09, 2017
4.2.0 January 26, 2017
4.1.2 January 12, 2017
4.1.1 December 16, 2016
See all 258 releases

Project Statistics

SourceRank 26
Dependencies 91
Dependent projects 1.98K
Dependent repositories 5.59K
Total releases 258
Latest release
First release
Stars 12K
Forks 2.44K
Watchers 632
Contributors 434
Repo Size: 31.9 MB

Top Contributors See all

isaacs Rebecca Turner Forrest L Norvell Kat Marchán Robert Kowalski Daijirō Wachi Domenic Denicola Sam Mikes Kenan Yildirim Tim Oxley Luke Arduini Martin Cooper Evan Meagher Bryan English Evan Lucas Dean Landolt Chris Meyers Dylan Greene Benjamin E. Coe Kyle Mitchell

Something wrong with this page? Make a suggestion

Export .ABOUT file for this library

Last synced: 2017-03-27 20:34:18 UTC

Login to resync this project