如何从OS X卸载Carthage? [英] How to uninstall Carthage from OS X?

查看:63
本文介绍了如何从OS X卸载Carthage?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

以某种方式,由于我使用Carthage.pkg文件以及brew install carthage进行安装,因此我的迦太基安装已损坏(好像我安装了两个版本).我想完全删除迦太基,但找不到解决办法.

Somehow, my Carthage installation is corrupted (seems like I have two versions installed) due to the fact that I installed using the Carthage.pkg file then also with brew install carthage. I'd like to completely remove Carthage(s) but can't find the way to do so.

推荐答案

为了从以下位置删除安装的迦太基:

In order to delete Carthage installed from:

  1. Carthage.pkg :

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

  • 自制软件:

    $ brew uninstall --force carthage
    

  • 这篇关于如何从OS X卸载Carthage?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

    查看全文
    登录 关闭
    扫码关注1秒登录
    发送“验证码”获取 | 15天全站免登陆