# required dependencies
brew install git ripgrep \
# optional dependencies
brew install coreutils fd \
# Installs clang
xcode-select --install
https://github.com/d12frosted/homebrew-emacs-plus
brew install d12frosted/emacs-plus/emacs-plus \
--with-no-frame-refocus \
--with-xwidgets \
--with-imagemagick \
--with-native-comp \
--with-c9rgreen-sonoma-icon
Create the Emacs.app alias in /Applications
; adapt the version number in the file path if necessary:
osascript -e 'tell application "Finder" to make alias file to posix file "/usr/local/opt/emacs-plus@29/Emacs.app" at posix file "/Applications" with properties {name:"Emacs.app"}'
The Emacs.app maybe blocked due to MacOS security mechanisms. Apply the following commands to the actual app file (not to the alias in the /Applications
directory):
xattr -c /usr/local/opt/emacs-plus@29/Emacs.app
sudo codesign --force --deep --sign - /usr/local/opt/emacs-plus@29/Emacs.app
https://github.com/doomemacs/doomemacs/blob/master/docs/getting_started.org
git clone --depth 1 https://github.com/doomemacs/doomemacs ~/.emacs.doom
~/.emacs.doom/bin/doom install
Add the directory ~/.emacs.doom/bin
to the PATH
variable:
Issue the following command if you’re using fish as your shell …
fish_add_path -U -v ~/.emacs.doom/bin
… and/or add the following line to either ~/.zprofile
(Zsh), ~/.profile
or ~/.bash_profile
(Bash):
PATH="$HOME/.emacs.d/bin:$PATH"
After Doom Emacs has been installed, synced and started at least once, make sure to delete any of ~/.doom.d
and ~/.config/doom
:
rm -rf ~/.doom.d && rm -rf ~/.config/doom
Very likely, only first one of these directories exists, hence the command may display an error, but succeed nevertheless.
Clone the Git repository into the right place, either: …