# Upgrade your bash in macOS

Update:

Use the following command is much more effective!

Below is the original post:

Then, edit the /etc/shells file and add the 5.0 version bash's PATH on the top of the shells: