How to Completely Uninstall Atom for Mac?

I downloaded Atom/Platformio from the official homepage

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.

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!!

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.

Allright. Thank you very much!

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/
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



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"

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

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?

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.

1 Like

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 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.

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.

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/
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
1 Like

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

1 Like

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.

Awesome this works without headache.

In my case it’s also:

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/ /Applications/Atom\ /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

1 Like

When dragging the onto AppCleaner, it finds these files:

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

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.