Reinstalling atom.io: getting the user-installed package list then re-installing it.
Posted by jpluimers on 2018/01/02
Sometimes your Atom installation gets so unstable that the quickest solution is a reinstall. For that you need to get a list of user-installed packages, then re-install them.
On Windows your Atom Package Manager apm is here (but not in the path), where the first is version specific and the latter the most recent version:
%LOCALAPPDAT%\atom\app-1.18.0\resources\cli\apm.cmd
%LOCALAPPDATA%\atom\bin\apm.cmd
On Mac OS X, it is here and in the path:
/usr/local/bin/apm
/Applications/Atom.app/Contents/Resources/app/apm/node_modules/.bin/apm
Save your packages:
apm list --installed --bare > package-list.txt
Install packages:
apm install --packages-file package-list.txt
For my own memory, the settings folders:
- Windows:
%USERPROFILE%\.atom
- Mac OS X:
~/.atom
–jeroen
via:
Leave a Reply