Updating Spacemacs and Packages

Updating Spacemacs comes in three sections:

  • Spacemacs project files
  • .spacemacs configuration file
  • Packages installed

Update Spacemacs project files

Choose the updates instructions based on the branch you use for Spacemacs, to select the appropriate process

Update Spacemacs via Spacemacs Home buffer

SPC b h to open the Spacemacs Home buffer

Update Spacemacs via Magit

Open a file in the .emacs.d directory, for example .emacs.d/README.md

SPC g s opens Magit status for the Spacemacs project

F pop-ups the pull menu, use -f to set rebase to true

u to pull from upstream.

Update the Spacemacs configuration

SPC f e D opens an ediff session, comparing your current .spacemacs file with the latest .spacemacs-template.

j, k navigates (down/up) between each difference in the file. b copies a change from the template to your .spacemacs file. Accept all the changes from the template unless you know you made a specific change to your .spacemacs file.

q to quit the ediff session and SPC f s to save the .spacemacs file.

Update Packages

RET on the Update Packages link or click with left mouse button

y to confirm you want to install the packages

SPC q r will restart Spacemacs, download all the new versions of the packages and install them.

SPC q r again can be useful to ensure that all new packages have been installed correctly, especially if you are installing many new packages.

results matching ""

    No results matching ""