Skip to content

Instantly share code, notes, and snippets.

@brianspiering
Last active May 3, 2016 17:26
Show Gist options
  • Save brianspiering/0709f68acb36f3eaa58caacf3ef2f045 to your computer and use it in GitHub Desktop.
Save brianspiering/0709f68acb36f3eaa58caacf3ef2f045 to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash
# Automagically update all packages on a Mac
#
# Some people would consider this approach "harmful". I want to be on the cutting edge...
# The new features from the community are very nice. But more importantly, I want to break my code early and loudly.
# This approach cultivates long-term code resilience.
################################################################################
# brew: Manages all command line utilities and Mac binaries (via Cask).
brew update && brew install `brew outdated`
# pip: Manages Python packages. Conda is preferred but doesn't have everything.
# pip-review: A useful package to update all pip packages. check it out - https://github.com/jgonggrijp/pip-review
pip-review --auto
# conda: Manages Python packages, especially intertwined scientific dependencies.
conda update --all -yfq
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment