Merikan Blog

My personal braindump

Upgrade to Bash 5 in MacOS

I am a long time user of zsh but I also use bash now and then but mostly when running bash scripts. I admit that I have used the default bash installation in MacOS but now was the time to upgrade to the latest bash version. With Homebrew it’s super easy. Print current version $ bash -version GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin18) Copyright (C) 2007 Free Software Foundation, Inc. Print location of current bash