Skip to content

Instantly share code, notes, and snippets.

@infusion
Last active February 28, 2020 11:09
Show Gist options
  • Save infusion/be4337a7b4432fb54cfcb5f49f5c506e to your computer and use it in GitHub Desktop.
Save infusion/be4337a7b4432fb54cfcb5f49f5c506e to your computer and use it in GitHub Desktop.
Update all OSX deps
#!/bin/sh
set -e
set -x
brew update && brew upgrade
npm -g update
for package in $(npm -g outdated --parseable --depth=0 | cut -d: -f3)
do
npm -g install "$package"
done
pip freeze --local | grep -v '^\-e' | cut -d = -f 1 | xargs -n1 pip install -U
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment