The First Cry of Atom Today is the first day of the rest of my life.

Bulk install with APM

There are a lot of packages of Atom text editor. You can customize your Atom by using official packages or third party packages. But how do you manage the list of packages?

There is a way which looks similar to requirements file of pip. First you can dump all APM packages you installed.

$ apm list --installed --bare
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
...

$ apm list --installed --bare > installed.txt

Then you can restore with this file from clean installed Atom.

$ apm install --packages-file installed.txt

Very easy. So you only need to update the file every time when you update the package or install new package. Then you can restore the latest Atom environment with one comment.