Question
How can I upgrade bash or otherwise get a CLI to work?
Error
dyld: Library not loaded: /usr/local/opt/readline/lib/libreadline.6.dylib
Referenced from: /usr/local/bin/bash
Reason: image not found
Background
Out of nowhere iTerm stopped working.
I uninstalled then reinstalled the latest version. Still getting this error
Then i tried the default Terminal mac app. Now seeing this in there
I have been searching similar problems and they seem to all give instructions on how to update BREW or bash.
https://github.com/Homebrew/homebrew-core/issues/5799
https://gist.github.com/samnang/1759336
But the instructions are with the CLI, which i cannot access
Update 1
I changed the path per a suggestion in the comments. Now Terminal app works but iTerm still has a "broken pipe"