Upgrade your bash in macOS
- 2019-10-24
- mac
Update:
Use the following command is much more effective!
1 | chsh -s /usr/local/bin/bash |
Below is the original post:
1 | brew install bash # install the 5.0 version bash with `brew`: |
Then, edit the /etc/shells
file and add the 5.0 version bash's PATH on the top of the shells:
1 | ➜ cat /etc/shells |