Skip to content

Instantly share code, notes, and snippets.

@pid
Forked from iki/README.md
Last active August 29, 2015 14:08
Show Gist options
  • Save pid/2e26d892d4ad0c4c6fe4 to your computer and use it in GitHub Desktop.
Save pid/2e26d892d4ad0c4c6fe4 to your computer and use it in GitHub Desktop.
#!/bin/sh
set -e
set -x
for package in $(npm -g outdated --parseable --depth=0 | cut -d: -f3)
do
npm -g install "$package"
done
#!/bin/sh
set -e
set -x
for package in $(npm -g outdated --parseable --depth=0 | cut -d: -f2)
do
npm -g install "$package"
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment