Skip to content
This repository has been archived by the owner on Nov 3, 2020. It is now read-only.

Add option to remove installed Command Line Tools #338

Open
Buju77 opened this issue May 18, 2016 · 6 comments
Open

Add option to remove installed Command Line Tools #338

Buju77 opened this issue May 18, 2016 · 6 comments

Comments

@Buju77
Copy link

Buju77 commented May 18, 2016

I'm currently using RVM to switch between different Cocoapods versions. And I like my (default) gemset to not have any Cocoapods version installed. Its just to make sure that I don't accidentally use the wrong CP version in our projects without choosing the correct gemset.

But after installing the App's command line tools, my (default) gemset now always has CP 1.0. I tried to uninstall the gems using gem uninstall, but it didn't work. It was also not showing up in gem list. Was also not showing up in global gemset. I was a bit confused until I realized that it must come from the CP App command line tools. Took me a while to figure this out :/

How do I remove the installed command line tools again?

I installed the tools in the first place because I thought the App needs those in order to work. It wasn't clear to me that it doesn't.

@orta
Copy link
Member

orta commented May 18, 2016

I think that's a good feature request, I'd like to see a menu item under the Install Command Line Tools that only shows when we have command line tools installed that is Remove Command Line Tools which loops through our known command line tools and removes them.

screen shot 2016-05-18 at 07 17 01

This app is mostly Obj-C and Swift, so you're welcome to take a stab at trying yourself too.

@Buju77
Copy link
Author

Buju77 commented May 18, 2016

I have never worked on a Mac app before but I will check if I can achieve something ;)

Buju77 pushed a commit to Buju77/CocoaPods-app that referenced this issue Jun 2, 2016
moved creation of CLIToolInstallationController to init of CPHomeWindowController (was in windowDidLoad)
@wtpisaac
Copy link

wtpisaac commented Jun 27, 2016

Since this isn't in the app yet, is there a way to manually remove the command line tools? I installed them but need them removed now, and I do not know how to do this.

EDIT: I found out how to do this.

Do "which pod" and then navigate to that directory.

Then, remove "pod"

Not entirely sure if the app installs other executables however, this should be checked

@orta
Copy link
Member

orta commented Jun 27, 2016

nope, that's it

@Buju77
Copy link
Author

Buju77 commented Jul 11, 2016

finally got some time to finish my pull request #344 while watching EURO 2016 finale ⚽ 😃

@orta
Copy link
Member

orta commented Jul 11, 2016

💯 🎉

orta added a commit that referenced this issue Jul 11, 2016
Added option to remove Command-Line Tool again (#338)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants