How to uninstall Carthage from OS X?

孤街浪徒 提交于 2019-12-03 23:49:47

In order to delete Carthage installed from:

  1. Carthage.pkg:

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

    $ brew uninstall --force carthage
    

To remove carthage installed by brew:

brew uninstall carthage

To remove all versions of carthage installed by brew:

brew uninstall --force carthage

If you installed it via Carthage.pkg you can remove it by using the following commands in terminal:

sudo rm -rf /Library/Frameworks/CarthageKit.framework
unlink carthage

To delete it from Homebrew you just have to do what Alen Liang provided on his answer:

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!