Your browser does not support JavaScript!
Upvotes Anonymous 12 User 0

How to Install Spacemacs on Windows

Install Emacs and Git
Find your Emacs Config
Open Explorer and navigate to your home directory. It should contain an .emacs.d directory:
What if I don't see an AppData folder?
It might be a hidden folder. If so, you can show it:
Backup your Emacs Config
Rename the .emacs.d directory to something else:
Download the Spacemacs Config with Git
Open a command prompt and cd to your home directory:
Run the git clone command:
git clone https://github.com/syl20bnr/spacemacs .emacs.d
What if Git can't be found?
If you get this message:
'git' is not recognized as an internal or external command, operable program or batch file.
then you need to add the Git bin directory (C:\Program Files\Git\bin) to your path. Here's an example of adding a directory to your system path.
Run Emacs for HTTP Updates
Start Spacemacs (Emacs) with the --insecure option from a command prompt:
This is because the default Emacs install seems to have trouble with HTTPS on Windows. Once you've installed Spacemacs, you may want to configure it to avoid HTTPS.
Setup your Preferences
Choose whether you want Vim or Emacs key bindings (I typed vim and pressed enter):
Also, choose which configuration you want (I typed spacemacs and pressed enter):
After setting these options, Spacemacs will download the needed updates.

We're done!
Was this helpful?

Tags

Comments

Byanonymous Anonymous 0 User 0
I followed your tutorial but I was unable to connect to any of the ELPA repositories and so spacemacs is unable to download any of the packages. Any idea what could be wrong? I already have the gnutls dlls in my emacs bin folder and on my path.
Byanonymous Anonymous 0 User 0
Yah, I tried it. Didn't work. The .emacs.d directory ended in C:\Users\MyName\Home\.emacs.d (I did not customize install) Then I did the command-line git install which seemed to work. runemacs.exe --insecure well it reports that--insecure is not a valid option. If you just do runemacs.exe then Emacs comes up as normal. There's no option do do Spacemacs setup nothing. Sorry this is why most of the "free" stuff doesn't work for me, nobody seems to be able to publish clear, working instructions. It's like people do not test at all....

Leave a Comment

I agree to the Terms of Service
Design © 2015, Downranked, LLC.,
Original user code contributions under MIT License