Skip to content

Instantly share code, notes, and snippets.

@jteneycke
Last active August 16, 2025 17:19
Show Gist options
  • Select an option

  • Save jteneycke/7947353 to your computer and use it in GitHub Desktop.

Select an option

Save jteneycke/7947353 to your computer and use it in GitHub Desktop.
How to install and configure Common Lisp for Emacs. (SBCL + Slime + Emacs24)

In your shell

sudo apt-get install sbcl
curl -O http://beta.quicklisp.org/quicklisp.lisp
sbcl --load quicklisp.lisp

Inside the context of sbcl

(quicklisp-quickstart:install)
(ql:quickload "quicklisp-slime-helper")

Add to .emacs configuration

(load (expand-file-name "~/quicklisp/slime-helper.el"))
;; Replace "sbcl" with the path to your implementation
(setq inferior-lisp-program "/usr/bin/sbcl")

Enjoy your new Common Lisp REPL!

M-x slime
@JaewoongMoon
Copy link
Copy Markdown

Thank You!!

@thomedes
Copy link
Copy Markdown

thomedes commented Jan 2, 2017

Thanks!

Copy link
Copy Markdown

ghost commented Mar 7, 2017

Thanks, this is a great help.

@wrllinwr
Copy link
Copy Markdown

wrllinwr commented Mar 2, 2018

谢谢,好用的不得了

@delaray
Copy link
Copy Markdown

delaray commented May 27, 2018

Very helpful. Worked on the first try.

@masahiko-ofgp
Copy link
Copy Markdown

Thanks, very helpful. it worked :)

@Leonard-k
Copy link
Copy Markdown

Tanks a lot you really helped me.

Copy link
Copy Markdown

ghost commented Aug 25, 2019

Thanks! If you installed sbcl on macOS with brew install sbcl then the path will be /usr/local/bin/sbcl.

@jbejam
Copy link
Copy Markdown

jbejam commented Dec 26, 2022

Thank you very much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment