Doom Emacs
Files
Library
Install
Doom Depedencies
# required dependencies brew install git ripgrep # optional dependencies brew install coreutils fd # Installs clang xcode-select --install
emacs-mac
brew tap railwaycat/emacsmacport brew install emacs-mac --with-modules ln -s /usr/local/opt/emacs-mac/Emacs.app /Applications/Emacs.app
Install
git clone --depth 1 https://github.com/hlissner/doom-emacs ~/.emacs.d ~/.emacs.d/bin/doom install
doom utility
doom doctor
! Couldn't find a markdown compiler, `markdown-preview' won't work ! Couldn't find shellcheck. Shell script linting will not work ! The installed grep binary was not built with support for PCRE lookaheads.
npm install -g marked brew install shellcheck brew install pcre
- doom sync: This synchronizes your config with Doom Emacs. It ensures that needed packages are installed, orphaned packages are removed and necessary metadata correctly generated. Run this whenever you modify your doom! block or packages.el file. You’ll need doom sync -u if you override the recipe of package installed by another module.
- doom upgrade: Updates Doom Emacs (if available) and all its packages.
- doom env: (Re)generates an “envvar file”, which is a snapshot of your shell environment that Doom loads at startup. If your app launcher or OS launches Emacs in the wrong environment you will need this. This is required for GUI Emacs users on MacOS.
- doom doctor: If Doom misbehaves, the doc will diagnose common issues with your installation, system and environment.
- doom purge: Over time, the repositories for Doom’s plugins will accumulate. Run this command from time to time to delete old, orphaned packages, and with the -g switch to compact existing package repos.