Installation
Linux
Update system with apt
# Install Emacs
sudo add-apt-repository ppa:kelleyk/emacs -y
sudo apt install emacs28 -y
# Install dependencies
dependencies=(
git
ripgrep
fd-find
)
sudo apt install "${dependencies[@]}" -y
# Install doom
git clone https://github.com/hlissner/doom-emacs ~/.emacs.d
~/.emacs.d/bin/doom install
~/.emacs.d/bin/doom upgrade --forceWindows
Warning
While it is possible to install Doom Emacs natively,
It is recommended to install in WSL for performance and consistency reasons.
WSL
Path
# Check if emacs exists in PATH
echo $PATH | grep emacs# Updating PATH for current session
export PATH=${PATH}:/home/${USER}/.emacs.d/bin# Updating PATH permanently
{
echo '';
echo 'export PATH=${PATH}:/home/${USER}/.emacs.d/bin';
} | sudo tee --append /etc/profile > /dev/null