How to Completely Uninstall Atom for Mac?


#30

You’re searching the PlatformIO Libraries Registry for the Arduino timer library. That doesn’t mean the file is on your computer, and even if it was, it’s still not part of Atom or PlatformIO.


#31

Not sure what you are trying to say… I thought you wanted to know where I found the library.
If you continue with: pio lib install 75
the library gets installed, so you can use it in your project. The thing was after I deleted everything connected to PLatformio/Atom and then reinstalling it, the library was still installed. The library itself isn’t the problem, just the fact that not everything got deleted with the lines/terminal commands from above.
Or are you saying that this isn’t supposed to be covered by the commands from above? If that’s the case would I have to uninstall the libraries first before I deinstall Atom/Platformio to get a clean system or do I have other options as well? Thanks a lot for your help!!


#32

I’m answering your question:

The Arduino library did not get removed because it belongs to neither PlatformIO nor Atom.

If that’s the case would I have to uninstall the libraries first before I deinstall Atom/Platformio to get a clean system or do I have other options as well?

Where is PlatformIO keeping the libraries? If they’re all in one folder, you could just delete that.


#33

Allright. Thank you very much!


#34

just a quick, copy and paste and GONE!

rm -rf ~/.atom
rm -rf /usr/local/bin/atom
rm -rf /usr/local/bin/apm
rm -rf /Applications/Atom.app
rm -rf ~/Library/Preferences/com.github.atom.plist
rm -rf "~/Library/Application Support/com.github.atom.ShipIt"
rm -rf "~/Library/Application Support/Atom"
rm -rf "~/Library/Saved Application State/com.github.atom.savedState"
rm -rf ~/Library/Caches/com.github.atom
rm -rf ~/Library/Caches/Atom

Thanks!


Mac client suddenly stopped working
#35

Watch out! Spaces between words, since not escaped (i.e. prefixed with \) nor quoted, will cause these commands:

rm -rf ~/Library/Application Support/com.github.atom.ShipIt
rm -rf ~/Library/Application Support/Atom
rm -rf ~/Library/Saved Application State/com.github.atom.savedState

to act like these:

rm -rf ~/Library/Application
rm -rf Support/com.github.atom.ShipIt
rm -rf Support/Atom
rm -rf ~/Library/Saved
rm -rf Application
rm -rf State/com.github.atom.savedState

If any of the above paths exists, this will result in undesired and irreversible data loss. Thus, it’s always better to quote every path we pass to commands, like this:

rm -rf "~/Library/Application Support/com.github.atom.ShipIt"

#36

Thanks for that. I’ve updated the above example to use safe quoting.


#37

Hi All,

I found some for Atom files in opt/X11 path in my mac, should i delete them?
if yes which are all the files have to delete?


#39

How do you make sure you remove every trace of the electron runtime?

Guys, it is very unclean to install a mess and not provide a way to remove the mess. Very linux-y to blast crap all over the file system and expect people to grep to clean up after you.

Don’t be so in love with your stuff to accept that someone may not want to remove it. At a minimum to do a clean reinstall some day (if not for some other reason).

Leaves bad taste.


#40

Very, very few Mac applications provide uninstallation tools. So it would appear that it is rather Mac-like and not necessarily “linux-y” at all to behave this way.

Electron is contained completely within the Atom.app package and doesn’t write files anywhere else on its own.

We have instructions in the Atom Flight Manual on how to reset Atom to factory defaults.


#41

Thanks. Good to know that electron is self-contained when installing with Atom.

Mac apps that don’t have installers are usually ones that place a single package (fancy for folder or directory) in a single place—so with no side effects they don’t need an uninstaller.

Other Mac apps that create installation side effects have matured and increasingly supply uninstallers.

It is linux-y for a complex command line utility to install in lots of places with no other way to remove the various files except to rm the output of some greo for the applicable files.

But, I am glad to know that Atom is pretty clean except for a bunch of things that go in ~/Library/Application Support, which are easy enough to find and remove, being reasonably localized.

Atom keeps improving a lot. However for my purposes, I was installing to attempt to use Juno with Julia. Juno sort of just gets in the way, has lots of caveats, and generally isn’t worth using over an editor and terminal or Jupyter. It would be nice to have an equivalent of Rstudio or Rodeo (Python) for Julia, but that’s out of scope of this email. Juno certainly isn’t there yet and doesn’t seem to be following a good strategy—it’s sort of like an Eclipse plugin—‘nuff said.


#42

Found another one: ~/Library/Caches/com.github.atom.Shipit

NOTE: in a post above, the path’s with spaces were quoted improperly.

So, the new “complete” list becomes (with proper quoting):

rm -rf ~/.atom
rm -rf /usr/local/bin/atom
rm -rf /usr/local/bin/apm
rm -rf /Applications/Atom.app
rm -rf ~/Library/Preferences/com.github.atom.plist
rm -rf ~/"Library/Application Support/com.github.atom.ShipIt"
rm -rf ~/"Library/Application Support/Atom"
rm -rf ~/"Library/Saved Application State/com.github.atom.savedState"
rm -rf ~/Library/Caches/com.github.atom
rm -rf ~/Library/Caches/com.github.atom.Shipit
rm -rf ~/Library/Caches/Atom

Atom lags when typing or scrolling and eating away memory
Atom crashes
#43

For anyone that might want it, I made a quick and dirty Perl script to uninstall Atom and all the files that have been discovered so far in this thread. Atom Uninstall Script


#44

Every app that has to write configs, profiles, etc. will write that data outside the app container. Otherwise you would have to run an app with administrative rights.


#45

Awesome this works without headache.


#46

In my case it’s also:
~/Library/Caches/com.github.atom.ShipIt/


#47

This is what I found in my system. For those who have Atom and Atom Beta installed, this includes both:

rm -rf ~/.atom ~/Library/Preferences/com.github.atom.helper.plist ~/Library/Preferences/com.github.atom.plist /Applications/Atom.app /Applications/Atom\ Beta.app /usr/local/bin/atom /usr/local/bin/atom-beta /usr/local/bin/apm /usr/local/bin/apm-beta ~/Library/Application\ Support/Atom/ ~/Library/Application\ Support/com.github.atom.ShipIt ~/Library/Saved\ Application\ State/com.github.atom.savedState ~/Library/Caches/com.github.atom.ShipIt/ ~/Library/Caches/com.github.atom ~/Library/Caches/Atom


#48

When dragging the Atom.app onto AppCleaner, it finds these files:

Looks like it misses the ~/.atom/ directory.


#49

Thanks @leedohm for your support throughout this thread.

However, I created an account to express my frustration with how difficult it was to fully remove Atom from my Mac.

Sometimes, when you have an old version of atom and you’ve made so many modifications to it, added so many packages to it, you just want to start fresh with a brand new install as if you never installed it before.

I felt like there were endless files to delete, and then when I thought I was done, I re-installed Atom and my packages and configurations were still showing up! The reason I was deleting was to have an easy way to get rid of all that stuff.

I can’t express how much an official uninstaller would be appreciated. I don’t want to waste my team deleting files in terminal.


#50

If you just want to revert Atom to factory settings, you can just delete the ~/.atom/ directory and start Atom from the command line with atom --clear-window-state. That’ll wipe everything custom about your editor.