Install, update, and uninstall
Nix
To launch Autolith without installing a command, run:
nix run github:lambda-symbolics/autolithYou can pass Autolith arguments after --. To get a command on your PATH, use nix profile install github:lambda-symbolics/autolith.
Nix supports x86-64 and ARM64 Linux and Apple silicon macOS. On first launch, the images are built under ${XDG_DATA_HOME:-~/.local/share}/autolith/nix/images/.
Linux, macOS, and BSD
Inspect the shell installer before you run it:
curl -fsSL https://sh.lambda-symbolics.com/autolith | shThe shell installer selects a package for your operating system and CPU:
- Linux: x86-64 and ARM64, for glibc and musl
- macOS: Intel and Apple silicon
- FreeBSD, NetBSD, and OpenBSD: x86-64
Make sure that ~/.local/bin is on your PATH if you use the default command location. Install OpenSSL before running the script. On Linux, also install Bubblewrap (bwrap) for filesystem and network isolation.
Windows
On Windows x86-64, inspect the PowerShell installer before you run it:
Invoke-RestMethod https://sh.lambda-symbolics.com/autolith.ps1 | Invoke-ExpressionRestart Windows Terminal so that you can use the updated PATH. Sandboxed commands run in an AppContainer without network access. They can write to the workspace and a private temporary directory.
The SHA-256 of the release archive is verified before extraction on all platforms. See Release service for how archives are published.
Update
For a packaged installation, run autolith update and then start Autolith again. Use autolith update --help to see the command syntax. To update and restart from a running session, enter (update). Your original launch arguments are used for the restart. Automatic update checks run at most once every 20 hours.
For Nix, update the flake input or upgrade the package in your Nix profile. For a source installation, update the checkout and run the bootstrap command again.
Source checkout
- Install a compatible SBCL as specified in
sbcl-minimum.version. UseAUTOLITH_SBCLto select a specific runtime. - Install Quicklisp under
~/quicklisp, along with Rust, CMake, pkg-config, and OpenSSL. On Linux, install Bubblewrap as well. - From the checkout, run
./script/bootstrap. Use./script/checkto check the build. - Start Autolith with
./bin/autolith. To run it from other directories, linkbin/autolithinto a directory on yourPATH.
Use --list to see test names, --suite NAME to select a suite, or --test NAME to select one test. You can repeat the selectors. For example:
./script/check --suite workspace-resource --suite fixtures
./script/check --test test-workspace-file-resources --jobs 1Use --jobs to set the number of workers and --timeout to set the time limit per worker in seconds. Selected runs skip the recovery checks.
Windows source checkout
- Install Git for Windows, Rust with the MSVC toolchain, and Quicklisp under
%USERPROFILE%\quicklisp. PutclangonPATHfor ColorLisp. You can use OpenSSL 3 from Git for Windows or setAUTOLITH_OPENSSL_DIRECTORYto the directory that contains it. - From PowerShell in the checkout, run
.\script\bootstrap.ps1. If there is no compatible SBCL, a runtime is downloaded and verified against the checksum insbcl-windows-releases.sha256. - Use
.\script\check.ps1to check the build. It accepts the same selectors as./script/check. - In Windows Terminal, start
.\bin\autolith.cmdor.\bin\autolith.ps1.
Uninstall
- Stop running sessions.
- Run
autolith uninstall. On Windows, delete the folders listed by the command. On other platforms, review the paths before confirming or pass--yesif no terminal is attached. - If you used Nix, remove Autolith from the flake or profile. If you built a checkout, delete the checkout separately.
Uninstalling removes the program and the files it needs to run. Your conversation history, settings, credentials, and private image commits are kept.