Last active
July 31, 2017 11:07
-
-
Save sebastianrothe/e319b0bde702b8e696f25f344e44c9f5 to your computer and use it in GitHub Desktop.
NPM Check updates for globally installed packages and upgrade them
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
npm i -g $(ncu -g | tr -s ' ' | cut -d ' ' -f2 | paste -s -d' ') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment