Installation
Lattice runs as a background service on your machine. Install the runtime — the
lattice-daemon and its lattice-ctl control CLI — with a single command.
Quick Install#
Install Lattice and set up private AI on this machine in one command:
# macOS and Linux
curl -fsSL https://d.uselovelace.com/lattice | sh -s -- --setup
After installing, the installer runs lattice-ctl setup --yes: it installs LM
Studio when it is missing, downloads the local model sized to your machine's
memory, starts the Lattice service, and checks that the model answers. Check
the result with:
lattice-ctl doctor
To install the binaries only, drop --setup, then run lattice-ctl setup when you are ready.
The script you pipe to sh carries the Lovelace installer inside it,
so it runs from any folder and never runs an install.sh it
finds there.
See the download size first#
Plan mode installs nothing and prints JSON describing this machine: its memory and accelerator, whether LM Studio runs on it, the model it would get, the size of every download (Lattice with its checksum files and, on macOS, its helper app; LM Studio when missing; the model when LM Studio does not already have it), and whether the disk has room for them plus 2 GB:
curl -fsSL https://d.uselovelace.com/lattice | sh -s -- --plan
When setup cannot run, refusal says why with a code: platform_unsupported,
machine_too_small, or insufficient_disk. See the
CLI reference for every field.
Platform-Specific Guides#
- macOS Installation → - Apple silicon
- Linux Installation → - Ubuntu, Debian, Fedora, and others
Two Different CLIs#
Do not confuse the two Lovelace command-line tools:
lattice-ctl— controls the local Lattice daemon (start/stop, status, providers, pairing). The install above provides it.ada(also invokable aslovelace) — the higher-level Lovelace product CLI (chat, agents, workspaces). It installs separately withcurl -fsSL https://d.uselovelace.com/install | sh.
What Gets Installed#
The install:
- Installs the
lattice-daemonbinary (native Rust executable) - Installs the
lattice-ctlcontrol CLI - Creates the configuration directory (
~/.lovelace/lattice/)
With --setup, lattice-ctl setup also installs LM Studio, downloads the
model, and registers the system service so the daemon starts on boot. Without
it, run lattice-ctl setup, or lattice-ctl service install to register the
service alone. The graphical package installer registers the service for you.
Verification#
lattice-ctl doctor
doctor reports whether Lattice, its service, LM Studio, and the local model
are ready, and lists the command that fixes each issue. It exits 0 when
private AI is ready and 1 otherwise.
System Requirements#
| Requirement | Lattice only | Private AI with a local model |
|---|---|---|
| Memory | 2 GB | 8 GB or more; the model grows with memory |
| Disk Space | 200 MB | The model plus 2 GB: 5.75 GB on an 8 GB machine, 9 GB on a 16 GB machine |
| Platform | macOS, Linux | macOS 14+ on Apple silicon; Linux on x86-64 with AVX2, or on ARM64 |
| Internet | Required for setup only | Local models work offline |
See Local Models for the model each memory size gets.
Uninstalling#
To uninstall lattice:
macOS/Linux#
# Stop the daemon and remove the service, if you installed one
lattice-ctl service stop
lattice-ctl service uninstall
# Remove the binaries and Lattice data
rm "$(command -v lattice-ctl)" "$(command -v lattice-daemon)"
rm -rf ~/.lovelace/lattice/
Troubleshooting Installation#
"Permission denied" error#
# Fix directory ownership and permissions
sudo chown -R $USER ~/.lovelace
chmod 755 ~/.lovelace/lattice/
chmod 755 ~/.lovelace/
"Command not found: lattice-ctl"#
# Reload shell configuration
source ~/.bashrc # or ~/.zshrc for zsh
Installation script fails#
Check if curl is available:
curl --version
Daemon won't start#
Check if the daemon is already running:
# Check daemon status
lattice-ctl daemon status
# If already running, you can use it directly
lattice-ctl ping
Next Steps#
After installing:
- Quickstart → - Run your first private chat
- Manage Agents → - Create autonomous agents and manage sessions
- Advanced Configuration → - Providers, local models, multiple devices
Need Help?#
- Troubleshooting → - Common issues and solutions
- Overview → - Understanding Lattice concepts