Skip to main content

Installation

Choose your platform for detailed installation instructions:

Quick Install (All Platforms)

bash
# macOS and Linux
curl -fsSL https://uselovelace.com/lattice/install.sh | sh

# Windows (PowerShell)
irm https://uselovelace.com/lattice/install.ps1 | iex

Platform-Specific Guides

What Gets Installed

The installation script:

  1. Downloads the lattice daemon binary (native Rust executable)
  2. Installs system service (launchd/systemd/Windows Service)
  3. Creates configuration directory (~/.lovelace/lattice/)
  4. Registers shell commands for lattice-ctl
  5. Sets up auto-start on boot

Verification

After installation, verify everything works:

bash
# Check version
lattice-ctl --version

# Start daemon
lattice-ctl daemon start

# Verify daemon is running
lattice-ctl ping

Expected output:

✓ Lattice daemon is running (PID: 12345)
  Uptime: 2 seconds
  Socket: /Users/you/.lovelace/lattice/daemon.sock

System Requirements

RequirementMinimumRecommended
RAM2GB8GB+
Disk Space200MB1GB+
CPUDual-coreQuad-core+
InternetRequired for setup onlyLocal models work offline

Uninstalling

To uninstall lattice:

macOS/Linux

bash
# Stop the daemon first
lattice-ctl daemon stop

# Remove the installation
rm -rf ~/.lovelace/lattice/

Windows

powershell
# Stop the service
lattice-ctl daemon stop

# Remove the installation directory
Remove-Item -Path $env:APPDATA\.lovelace -Recurse -Force

Troubleshooting Installation

"Permission denied" error

bash
# macOS/Linux may need sudo for daemon operations
sudo lattice-ctl daemon start

# Or fix directory permissions
chmod 755 ~/.lovelace/lattice/
chmod 755 ~/.lovelace/

"Command not found: lattice-ctl"

bash
# Reload shell configuration
source ~/.bashrc  # or ~/.zshrc for zsh
# Windows: Close and reopen PowerShell

Installation script fails

Check if curl (macOS/Linux) or PowerShell is available:

bash
# macOS/Linux
curl --version

# Windows - ensure PowerShell is available
powershell -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 → - Configure a provider and run your first chat
  2. Manage Agents → - Create autonomous agents and manage sessions
  3. Advanced Configuration → - Providers, local models, P2P mesh

Need Help?