Lem
GitHubDiscord Matrix Toggle Dark/Light/Auto modeToggle Dark/Light/Auto modeToggle Dark/Light/Auto modeBack to homepage

MacOS

Using the binary

Lem 2.1 was released! It provides binaries for Linux, MacOS and Windows.

How to Fix “App Is Damaged and Can’t Be Opened” on OSX

Copy the app file to the applications folder and type the following in your terminal:

xattr -d com.apple.quarantine /Applications/lem.app

Installation with roswell

Please install roswell at first, Roswell Installation Guide.

After that, please follow the steps bellow.

  1. Install lem by roswell
$ ros follow-dependency=t install lem-project/lem
  1. Add the PATH in the initialization file (such as ~/.bashrc)
export PATH=$PATH:~/.roswell/bin

Installation with Docker

Clone the Lem repository and build a Docker image:

$ docker build -t lem .

You can now run it:

$ docker run --rm -it -v .:/shared lem

Installation from scratch

Install SBCL and ncurses

brew install sbcl ncurses

Install qlot

  • Automatic installer
curl -L https://qlot.tech/installer | bash

For an alternative installation, https://github.com/fukamachi/qlot#installation

Download and build the executable

  • Create the directories
mkdir $HOME/common-lisp && cd $HOME/common-lisp
git clone https://github.com/lem-project/lem.git
cd lem && make ncurses

or run make sdl2-ncurses to build Lem with the two interfaces in it. Then choose the interface at startup with -i / --interface, either “sdl2” or “ncurses”.

Add the executable to PATH

  • Copying the PATH to ~/.bashrc
export PATH="$HOME/common-lisp/lem:$PATH"