Doom emacs installation

doom-emacs-official-web

install doom emacs on Linux

preparation: install emacs

  1. debian deb way
    • install debian default emacs sudo apt install emacs
  2. flatpak way emacs-flatpak-version

add to your shell config (.zshrc or .bashrc)

export EMACS="/usr/bin/flatpak run org.gnu.emacs"

install doom and fetch own .doom.d

  1. clone doom to ~/.emacs.d
  2. setup github mirror for doom(China only) before run .emacs.d/doom install
  3. fetch your own .doom.d
  4. doom sync
# clone doom to ~/.emacs.d
git clone --depth 1 https://github.com/hlissner/doom-emacs ~/.emacs.d
git config --global url.https://github.com.cnpmjs.org/.insteadof https://github.com/
~/.emacs.d/bin/doom install
mv ~/.doom.d ~/.doom.d.bk
git clone git@github.com:idlesong/.doom.d.git
~/.emacs.d/bin/doom sync

install doom emacs on Windows

[install_doom_emacs_on_windows](https://earvingad.github.io/posts/doom_emacs_win

  1. install mingw64 or msys2
  2. install doom emacs
  3. install icons M-x all-the-icons-install-fonts

tips & reference

  1. use proxy; or github taobao mirror to run .emacs.d/doom install