Created
December 23, 2021 16:46
-
-
Save floydpink/22ef3ba55df73f56d71497f9f9810388 to your computer and use it in GitHub Desktop.
Update all existing global npm dependencies
This file contains 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
npm ls -g -j --depth=0 | jq -r '.dependencies | keys | join(" ")' | xargs npm install -g |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment