How to install/initialize package from init script?


#1

I previously used emacs for a bit, and switched to atom recently.

As I did in init.el for emacs, I’m willing to install, initialize, and post-process packages from init script.

How can I do this in atom?


#2

The PackageManager API is what you’re looking for.


#3

Thank you for the link.

I saw this document before, but I think I forgot it.

By the way, I can’t find api about ‘installing’ the package.

Does package activation api also installs it?


#4

No, but you can send apm commands with BufferedProcess.