Skip to content

Instantly share code, notes, and snippets.

@Rican7
Created September 15, 2016 23:11
Show Gist options
  • Star 7 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save Rican7/44081a9806595704fa7b289c32fcd62c to your computer and use it in GitHub Desktop.
Save Rican7/44081a9806595704fa7b289c32fcd62c to your computer and use it in GitHub Desktop.
Upgrade Bash on Mac OS X
#/usr/bin/env sh
#
# Requires homebrew (http://brew.sh/)
# Thanks http://clubmate.fi/upgrade-to-bash-4-in-mac-os-x/
brew update && brew install bash && sudo bash -c 'echo /usr/local/bin/bash >> /etc/shells' && chsh -s /usr/local/bin/bash
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment