Getting Started
Learn how to install and set up l0-memory on your machine.
Prerequisites
- Go 1.22+ (if building from source)
- Node.js 20+ (for the VS Code extension)
- SQLite (usually pre-installed on most systems)
Installation
From a Release
The easiest way to get started is by downloading the pre-built binaries from the Releases page.
- Server (
ltm): Download the archive for your OS/Architecture, extract it, and place theltmbinary in yourPATH. - VS Code Extension: Download the
.vsixfile and install it using:shcode --install-extension l0-memory-<version>.vsix
macOS Users
The macOS binaries are ad-hoc codesigned to satisfy the Sequoia/Tahoe provenance gate. See Security for details.
From Source
If you prefer to build from source, ensure you have the required toolchains installed.
sh
# Clone the repository
git clone https://github.com/fabriziosalmi/l0-memory.git
cd l0-memory
# Build the server binary
make build
# Package the VS Code extension (optional)
make vsixQuick Start
Once installed, you can verify the installation by running:
sh
ltm versionThe default database will be created at ~/.long-term-memory/memories.db. You can override this by setting the LTM_DB environment variable.
Your first memory
Save a cross-project note:
sh
ltm save tech:caddy "Caddy is a powerful web server with automatic HTTPS." userRetrieve it:
sh
ltm get tech:caddyList your memories:
sh
ltm list