Install gnu bash on mac os1/31/2023 Here you can see i've added it to the bottom: # List of acceptable shells for chpass(1). ![]() Or use whatever your preferred text editor is. So now add /usr/local/bin/bash to /etc/shells sudo vim /etc/shells This will install the newer bash in /usr/local/bin where Homebrew installs most of its commands. Then it's simply a matter of running in Terminal as your user (not root): brew install bash Have a read on how to do that here if you haven't got it installed already. ![]() To get a newer version (which has sooooo many newer features too) you'll need to install Homebrew. GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin19)Ĭopyright (C) 2007 Free Software Foundation, Inc. ![]() Yes that's not a typo: 2007 bash -version If you like living in the Terminal app you may not know that the default bash that ships with macOS including Catalina is from 2007.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |