Simple scripts for installing Doom Emacs
Important
It is recommended you view how the script works before running (don't worry it's short). View the source code.
Doom-universal-linux; detects your linux distro and if it is supported installed using the recomended method. It also detects your shell and trys to add doom directory to path.
Select your script and make sure permissisons are correct with (chmod +x), then run (./doom-universal-linux.sh) (Or whatever script you chose) (Run as normal user but it will ask for password)
Supported distros for universal autoinstall. (Ubuntu, Fedora, Arch) Supported shells for universal autoinstall. (Bash, Zsh, Fish)
Default installation dir ~/.doom.d and ~/.emacs.d
git clone https://github.com/infstate/doom-emacs-install-scripts.git
cd doom-emacs-install-scripts
chmod +x doom-universal-linux.sh
./doom-universal-linux.shReplace 'doom-universal-linux.sh' with any of the other scripts if you would like.
Tip
(Optional) Use this one liner to run the Quick Start:
curl -fsSL https://github.com/infstate/doom-emacs-install-scripts/raw/refs/heads/main/quickstart.sh | shAs of Emacs 30.1 and Ubuntu 24.04.2, you no longer need to compile from scratch! So now the script just runs perfectly without any extra install logic!
For Ubuntu you have 3 scripts:
| Script | Purpose |
|---|---|
| doom-minmal-ubuntu.sh | Minimal install(Without installing extra packages) |
| doom-ubuntu.sh | Does the same as Minimal (Emacs 30.1) |
| doom-universal-linux.sh | Detects distro and installs accordingly |
If you find a bug make a ticket in the Issues tab or a Pull request if you have a solution.
