Skip to content

Instantly share code, notes, and snippets.

@cabbibo
Created November 3, 2014 12:15
Show Gist options
  • Save cabbibo/763979f2d50f086023a1 to your computer and use it in GitHub Desktop.
Save cabbibo/763979f2d50f086023a1 to your computer and use it in GitHub Desktop.
sudo curl -L npmjs.org/install.sh | sudo bash
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 193 100 193 0 0 511 0 --:--:-- --:--:-- --:--:-- 510
100 6044 100 6044 0 0 3823 0 0:00:01 0:00:01 --:--:-- 140k
tar=/usr/bin/tar
version:
bsdtar 2.8.3 - libarchive 2.8.3
install npm@latest
fetching: http://registry.npmjs.org/npm/-/npm-2.1.6.tgz
/usr/local/bin/npm -> /usr/local/lib/node_modules/npm/bin/npm-cli.js
npm ERR! Darwin 13.3.0
npm ERR! argv "/usr/local/bin/node" "/private/tmp/npm.23097/package/cli.js" "install" "-gf"
npm ERR! node v0.10.28
npm ERR! npm v2.1.6
npm ERR! path /usr/local/share/man/man5
npm ERR! code ENOTEMPTY
npm ERR! errno 53
npm ERR! ENOTEMPTY, rmdir '/usr/local/share/man/man5'
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! <http://github.com/npm/npm/issues>
npm ERR! Please include the following file with any support request:
npm ERR! /private/tmp/npm.23097/package/npm-debug.log
It failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment