I have several emacs distributions (scimax, spacemacs, vanilla emacs, etc.) which all uses their own melpa directory. I want them all to use the same elpa (or melpa or gnu) directory to save some place.

For example, I have a "init.el" file in my vanilla emacs directory (~/.emacs.d/init.el). I want "Vanilla emacs" to look up elpa files inside in my scimax directory (~/emacs/scimax/.emacs.d/elpa) and download future elpa files inside the scimax's elpa directory.

1 Answer 1


I believe your best option is to install your packages normally in one of the emacs distributions and then symlink to the others. For example, after you install your vanilla emacs packages, create a symlink to spacemacs like this: ln -s ~/.emacs.d/elpa ~/.spacemacs.d/

  • The symlink goods look. I wonder it may create a problem in the future.
    – ofenerci
    Commented Aug 23, 2018 at 14:21
  • If you set it up properly I don't think it would create any problem
    – Jesse
    Commented Aug 23, 2018 at 14:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.