Script to install latest bash via brew (assumes you have set this up before) and set it as your default shell and for root.
See the following for more information:
curl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/unix-terminal-setup/macos-bash-setup/main/setup.sh | bash