Skip to content

Instantly share code, notes, and snippets.

View acerbastimur's full-sized avatar
:electron:
coding feeds your brain

Umut Acerbastimur acerbastimur

:electron:
coding feeds your brain
View GitHub Profile
@othiym23
othiym23 / npm-upgrade-bleeding.sh
Created September 20, 2014 19:36
a safe way to upgrade all of your globally-installed npm packages
#!/bin/sh
set -e
set -x
for package in $(npm -g outdated --parseable --depth=0 | cut -d: -f3)
do
npm -g install "$package"
done