How to automatically install Emacs packages by specifying a list of package names?

后端 未结 11 2633
隐瞒了意图╮
隐瞒了意图╮ 2020-12-22 15:22

I am using package to manage my Emacs extensions. In order to synchronize my Emacs settings on different computers, I\'d like a way to specify a list of package

11条回答
  •  爱一瞬间的悲伤
    2020-12-22 15:47

    No one has mentioned Cask yet, but it is quite suitable for this task.

    Basically you create ~/.emacs.d/Cask listing the packages you want to install. For example:

    (source melpa)
    (depends-on "expand-region")
    (depends-on "goto-last-change")
    ; ... etc
    

    Running cask from the command line will install these packages for you, and any dependencies they need.

    Also, you can automatically update installed packages using cask update.

提交回复
热议问题