Skip to content

Instantly share code, notes, and snippets.

@Sebmaster
Created March 22, 2011 17:03
Show Gist options
  • Select an option

  • Save Sebmaster/881585 to your computer and use it in GitHub Desktop.

Select an option

Save Sebmaster/881585 to your computer and use it in GitHub Desktop.
$ curl http://npmjs.org/install.sh | npm_install=rc sh
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 2047 100 2047 0 0 4291 0 --:--:-- --:--:-- --:--:-- 8785
fetching: http://registry.npmjs.org/npm/-/npm-1.0.0rc3.tgz
0.5.0-pre
! [ -d .git ] || git submodule update --init
node cli.js cache clean
node cli.js rm npm -g
npm WARN Not installed in /usr/local/lib/node_modules npm
node cli.js install -g
npm ERR! Unsupported
npm ERR! Not compatible with your version of node/npm: [email protected]
npm ERR! Required: {"node":"0.4 || 0.5","npm":"1"}
npm ERR! Actual: {"npm":"1.0.0rc3","node":"v0.5.0-pre"}
npm ERR!
npm ERR! System CYGWIN_NT-6.1-WOW64 1.7.8(0.236/5/3)
npm ERR! command "node" "/tmp/npm.2820/package/cli.js" "install" "-g"
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /tmp/npm.2820/package/npm-debug.log
npm not ok
It worked
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment