Installing packages in spacemacs
Asked Answered
H

1

7

What's the best way to install packages in spacemacs? 1. Using M-x package-install 2. Include the packages to be installed in dotspacemacs-additional-packages 3. (use-package )

I couldn't find a definite answer anywhere.

Using the package-install to install packages modified the package-selected-packages automatically. Shall I remove all the packages there and include them in dotspacemacs-additional-packages?

I want to keep my .emacs synchronised between my local mac and my home directory in a linux server. So, I was wondering about removing this automatically modified package-selected-packages variable.

Hiragana answered 11/3, 2020 at 11:54 Comment(0)
K
-1

The officially sanctioned way is to add them under dotspacemacs-additional-packages, e.g.

   dotspacemacs-additional-packages '(lsp-julia)
Karbala answered 4/7 at 6:36 Comment(1)
Your answer could be improved by adding a rationale for this recommendation. Clearly the OP already knows that they can do this; but why exactly should they? (Or is this just your unprovoked private opinion?)Hora

© 2022 - 2024 — McMap. All rights reserved.