简体   繁体   中英

How to Remove brew install bash

I installed bash via brew to check out version 4. I would like to remove this. I cannot use my npm packages correctly and am at a standstill. Wondering how to remove an installation from homebrew?

Have you tried brew uninstall bash ?

If that doesn't work for you, you could try removing the actual files, usually /usr/local/Cellar/bash/ and /usr/local/bin/bash . This should get you at least far enough to be using your old bash binaries, from where you could do any further cleanup.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM