Skip to content

Instantly share code, notes, and snippets.

@zdzolton
Created August 13, 2010 14:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zdzolton/523004 to your computer and use it in GitHub Desktop.
Save zdzolton/523004 to your computer and use it in GitHub Desktop.
I want NPM!
$ curl http://npmjs.org/install.sh | sudo sh
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
115 230 115 230 0 0 5385 0 --:--:-- --:--:-- --:--:-- 11500
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 553k 100 553k 0 0 150k 0 0:00:03 0:00:03 --:--:-- 165k
node cli.js cache clean
npm it worked if it ends with ok
npm cli [ 'cache', 'clean' ]
npm version 0.1.25
npm config file /Users/zach/.npmrc
npm config file /usr/local/Cellar/node/0.1.103/etc/npmrc
npm ok
node cli.js rm npm
npm it worked if it ends with ok
npm cli [ 'rm', 'npm' ]
npm version 0.1.25
npm config file /Users/zach/.npmrc
npm config file /usr/local/Cellar/node/0.1.103/etc/npmrc
npm not installed npm
npm ok
node cli.js install npm
npm it worked if it ends with ok
npm cli [ 'install', 'npm' ]
npm version 0.1.25
npm config file /Users/zach/.npmrc
npm config file /usr/local/Cellar/node/0.1.103/etc/npmrc
npm install pkg npm
npm fetch data npm
npm GET npm
npm install pkg npm
npm install pkg npm@0.1.25
npm GET npm/0.1.25
npm fetch http://registry.npmjs.org/npm/-/npm-0.1.25.tgz
npm fetch /usr/local/Cellar/node/0.1.103/lib/node/.npm/.cache/npm/0.1.25/package.tgz
npm content-length 570973
npm downloaded 0%
npm downloaded 10%
npm downloaded 20%
npm downloaded 31%
npm downloaded 41%
npm downloaded 51%
npm downloaded 61%
npm downloaded 71%
npm downloaded 81%
npm downloaded 91%
npm fetch finished
npm bytes 570973
npm exec tar "xzf" "/usr/local/Cellar/node/0.1.103/lib/node/.npm/.cache/npm/0.1.25/package.tgz" "--strip-components=1" "-C" "/usr/local/Cellar/node/0.1.103/lib/node/.npm/.cache/npm/0.1.25/package"
npm buildAll About to unpack
npm unpack [ 'npm', '0.1.25' ]
npm exec tar "xzf" "/usr/local/Cellar/node/0.1.103/lib/node/.npm/.cache/npm/0.1.25/package.tgz" "--strip-components=1" "-C" "/usr/local/Cellar/node/0.1.103/lib/node/.npm/npm/0.1.25/package"
npm linkBins npm-0.1.25
npm warning bins installing to /usr/local/Cellar/node/0.1.103/bin, outside PATH
npm linkBin npm ./cli.js
npm activate npm@0.1.25
npm activate npm-0.1.25
npm exec sh "-c" "node scripts/install-docs.js"
npm docs activate
npm exec manpath
npm ! It seems /usr/local/Cellar/node/0.1.103/share/man/man1 might not be visible to man
npm ! For greater justice, please add it to your man path
npm ! See: man man
npm docs /usr/local/Cellar/node/0.1.103/lib/node/.npm/npm/0.1.25/package/man
npm docs /usr/local/Cellar/node/0.1.103/share/man/man1
npm docs done
npm update-dependents only version, no dependencies to update
npm build Success: npm@0.1.25
npm ok
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment