From 128bb08e3ebb0eebfad8fb77ad32fd05c89171a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20G=C3=A9rard-Marchant?= Date: Mon, 22 Sep 2014 02:18:54 +0200 Subject: .aliases: Update `npm` the right way `npm install npm -g` is the new recommended way to update npm as specified in the npm-faq at https://github.com/npm/npm/blob/master/doc/misc/npm-faq.md. Closes #423. --- .aliases | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.aliases b/.aliases index 8549437..16b6fca 100644 --- a/.aliases +++ b/.aliases @@ -45,7 +45,7 @@ alias week='date +%V' alias timer='echo "Timer started. Stop with Ctrl-D." && date && time cat && date' # Get OS X Software Updates, and update installed Ruby gems, Homebrew, npm, and their installed packages -alias update='sudo softwareupdate -i -a; brew update; brew upgrade; brew cleanup; npm update npm -g; npm update -g; sudo gem update --system; sudo gem update' +alias update='sudo softwareupdate -i -a; brew update; brew upgrade; brew cleanup; npm install npm -g; npm update -g; sudo gem update --system; sudo gem update' # IP addresses alias ip="dig +short myip.opendns.com @resolver1.opendns.com" -- cgit v1.2.3