Skip to content
Lovelace

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:

bash
# 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:

bash
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:

bash
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#

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 as lovelace) — the higher-level Lovelace product CLI (chat, agents, workspaces). It installs separately with curl -fsSL https://d.uselovelace.com/install | sh.

What Gets Installed#

The install:

  1. Installs the lattice-daemon binary (native Rust executable)
  2. Installs the lattice-ctl control CLI
  3. 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#

bash
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#

RequirementLattice onlyPrivate AI with a local model
Memory2 GB8 GB or more; the model grows with memory
Disk Space200 MBThe model plus 2 GB: 5.75 GB on an 8 GB machine, 9 GB on a 16 GB machine
PlatformmacOS, LinuxmacOS 14+ on Apple silicon; Linux on x86-64 with AVX2, or on ARM64
InternetRequired for setup onlyLocal models work offline

See Local Models for the model each memory size gets.

Uninstalling#

To uninstall lattice:

macOS/Linux#

bash
# 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#

bash
# Fix directory ownership and permissions
sudo chown -R $USER ~/.lovelace
chmod 755 ~/.lovelace/lattice/
chmod 755 ~/.lovelace/

"Command not found: lattice-ctl"#

bash
# Reload shell configuration
source ~/.bashrc  # or ~/.zshrc for zsh

Installation script fails#

Check if curl is available:

bash
curl --version

Daemon won't start#

Check if the daemon is already running:

bash
# Check daemon status
lattice-ctl daemon status

# If already running, you can use it directly
lattice-ctl ping

Next Steps#

After installing:

  1. Quickstart → - Run your first private chat
  2. Manage Agents → - Create autonomous agents and manage sessions
  3. Advanced Configuration → - Providers, local models, multiple devices

Need Help?#