Installing (Windows)

Assuming you have already downloaded and installed Emacs and Git for bash terminal.

  • Clone Doom's repository.

git clone --depth 1 https://github.com/hlissner/doom-emacs ~/.emacs.d

  • Adding Emacs to path.

  • In terminal , open ~/.bashrc using nano ~/.bashrc

  • In it paste export PATH=$PATH:"/c/Users/<user-name>/emacs/bin" considering you have installed Emacs in user dir with folder name emacs

  • ctrl+s to save and ctrl+x to exit nano

  • type source ~/.bashrc to reload ~/.bashrc.

  • To verify if it is added to path type emacs --version

  • After adding emacs to ~/.bashrc type ~/.emacs.d/bin/doom install, this will install Doom to Emacs but may take time in Windows. It took me 35 min to install it completely.

  • After the installation is done type emacs and doom emacs will open.

  • Enjoy Emacs (I think it is not so enjoyable as a beginner because I am also a beginner and I am leaning it too, and it is hard But I like it.)


You may need to add Doom to PATH also, to use it in Terminal. Just open the ~/.bashrc in nano as done previously and add the following: export PATH=$PATH"/c/Users/<user-name>/.emacs.d/bin/doom". Now, you can use commands like doom sync and doom doctor.


doom sync - Whenever the init.el file is changed you have to use this command to see changes in emacs.