-
-
Notifications
You must be signed in to change notification settings - Fork 180
Home
After installing lem, you can start developing in Common Lisp at once.
You can skip over writing tidy settings or installing many plugins as you do on Emacs.
The official installation requires:
- ncurses
- SDL2
You can also use Docker: see https://github.com/40ants/lem-docker
Please first check Lem's website here: https://lem-project.github.io/installation/ncurses/linux/
for MacOS: https://lem-project.github.io/installation/ncurses/macos/
and for Windows: https://lem-project.github.io/installation/ncurses/windows/
- Linux
- MacOS 10.13+
- Windows
Find Lem 2.0 binaries on the releases page.
Install the dependencies. Those are for a Debian system:
sudo apt install sbcl curl git
Now run the following script. You should check it ;) It uses sudo to install more dependencies than ncurses.
curl -L https://lem-project.github.io/linux_installer.sh | bash
Important places from the script installation:
- $HOME/common-lisp/lem (Lem installation location)
- /usr/local/bin/lem (Lem symlink)
In your editor, you can pull Lem sources, load the lem.asd package definition and execute "(ql:quickload :lem-ncurses)"
then "(lem:lem)"
to start Lem.
You can use roswell to install Lem, but it isn't the primary method anymore, Lem can be installed without it.
See Roswell Installation Guide
After that, please follow the steps bellow.
1. install lem by roswell
$ ros install cxxxr/lem
2. add the PATH in the initialization file(such as ~/.bashrc)
export PATH=$PATH:~/.roswell/bin
$ lem <filename.lisp>
You can watch the screencast on Youtube.
See the Lem 2.0 releases to download binaries.
To install from sources, follow the instructions on the README here: https://github.com/lem-project/lem/blob/master/frontends/sdl2/README.md
- For Rasberry Pi users: You need to use CCL(Clozure Common Lisp).
Please change the CL implementation to CCL as follow:
$ ros use ccl-bin
This project exists thanks to all the people who contribute. [Contribute].