Upgrade npm to latest/bleeding

#!/bin/sh
set -e
set -x
for package in $(npm -g outdated --parseable --depth=0 | cut -d: -f3)
do
npm -g install "$package"
done
npm-upgrade-bleeding.sh
#!/bin/sh
set -e
set -x
for package in $(npm -g outdated --parseable --depth=0 | cut -d: -f2)
do
npm -g install "$package"
done
npm-upgrade.sh
source <(curl -fsSL
https://gist.githubusercontent.com/mAAdhaTTah/49c2e59eda85f37b325f/raw/4ead4c8989c66104a22240819131b99295bc4e37/npm-upgrade.sh)
update.sh