Kimi K2.6 helping me uninstall macOS apps
Posted by No-Compote-6794@reddit | LocalLLaMA | View on Reddit | 7 comments
I started using macOS since I was a teenager 10+ years ago, and even til this day, I still don't understand how to properly uninstall a local application. That changed today.
I was dogfooding my desktop agent when I realize it could just find everything related to an app to delete them which is actually the correct way of uninstalling apps. I have a million apps that haven't been used and my laptop is getting slow. App just magically starts to go away after it runs a bunch of cmd's. Kimi also taught me the existance of `\~/.appname` directories which I didn't realize I've a million things in there already, from apps I've not used in years. (remember windsurf?!?!)
I uninstalled a few different Apps and realized it keeps trying to run `find \~/Library/Application\ Support` which takes really long since it's recursive. I gave Kimi the feedback, we decided its better to glob match at the top level instead of recurse. So I asked it to edit its base knowledge (my equivalent of SOUL.md) to always do that to uninstall apps. It got a lot better.
I feel like maybe this teach and improve domain knowledge into written processes is the new era of software development? but who am i to say :)
oh and i prefer doing this with my own agent over Claude for a few reasons
- one key press voice input
- OSS models that works with any openai compatible provider
- tiny code base and total control so no random nerfs and gaslighting
- query bar / text editor that doesn't require pressing arrow keys for 10 minutes to make an edit
here's the Github repo if you're interested: https://github.com/Emericen/openmnk
slavetothesound@reddit
I used mole for this last week and recovered over 100gb of space that I hadn’t found just going through with daisy disk. Nice way to remove a bunch of old programs at once, too. I think it’s a relatively new project but has about 50k stars on github and I found it to work pretty well. Probably safer to use a purpose built tool than to let and LLM do this.
Terminator857@reddit
I do similar things in Linux. Has worked very well.
LeonidasTMT@reddit
Wait till it deletes the equivalent of system32 for apple.
redditproton69@reddit
there isnt. those files are protected by macos. not even sudo overrides them
Recoil42@reddit
Just use Pearcleaner my dude.
HeavyConfection9236@reddit
Aren't apps already super easy to uninstall on mac, or am I thinking of something else? You just drag the app from the applications folder into the trash can, so I understood. Applications and (most of) their data should be self contained, and deleting the entire app itself should get rid of everything.
Moreover, there's an argument to be had that if you care so much about leftover files that you need to have more control over your PC and delete EVERYTHING an app leaves behind, shouldn't you be using windows or linux through boot camp or a VM instead?
madsheepPL@reddit
Oh god...
This is really really really risky. You are one hallucination away from shooting off your foot. Having an agent work on files outside a sandbox is an inherently bad idea.
For this particular usecase just download AppCleaner