How to remove Carthage from OS X?

Somehow my Carthage installation is damaged (it seems that I have two versions installed) due to the fact that I installed using the Carthage.pkg file, and then also with brew install carthage . I would like to completely remove Carthage (s), but I can not find a way to do this.

+8
macos carthage
source share
3 answers

To remove the cart installed by brew:

 brew uninstall carthage 

To uninstall all versions of carthage installed with brew:

 brew uninstall --force carthage 
+6
source share

To remove it from Homebrew , you just need to do what Alain Liang provided in response:

If you installed it through Carthage.pkg , you can remove it using the following commands in the terminal

 $ cd /Users/{your_username} (You can find it using "$ id -un") $ sudo rm -r /Library/Frameworks/CarthageKit.framework $ unlink carthage 

Restart the terminal and carthage is gone :)

+5
source share

To uninstall Carthage installed with:

  • Carthage.pkg :

     $ rm -rf /usr/local/bin/carthage $ sudo rm -rf /Library/Frameworks/CarthageKit.framework 
  • Homebrew :

     $ brew uninstall --force carthage 
+1
source share

All Articles