mirror of
https://github.com/rabbibotton/clog.git
synced 2025-12-06 02:30:42 -08:00
1.1 KiB
1.1 KiB
Installing Common Lisp + Emacs + Slime on MacOS (all platforms)
-
Install Emacs for Msc OS from - https://emacsformacosx.com/
-
[optional] Add Emacs to your system's path by creating a file /etc/paths.d/emacs with:
/Applications/Emacs.app/Contents/MacOS
- Install Homebrew - https://brew.sh/
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
- Install a Common Lisp compiler, ie. sbcl
brew install sbcl
- Install QuickLisp
curl -o /tmp/ql.lisp http://beta.quicklisp.org/quicklisp.lisp
sbcl --no-sysinit --no-userinit --load /tmp/ql.lisp \
--eval '(quicklisp-quickstart:install :path "~/.quicklisp")' \
--eval '(ql:add-to-init-file)' \
--quit
- Install Slime
sbcl --eval '(ql:quickload :quicklisp-slime-helper)' --quit
- Modify or create ~/.emacs.d/init.el with the lines
(load (expand-file-name "~/.quicklisp/slime-helper.el"))
(setq inferior-lisp-program "sbcl")
- You can now start emacs graphically or if did option 2 from terminal and then use M-x slime