Introduction

A high-performance, local toolchain for managing monorepos.

Lattice is one CLI that runs tasks across the workspaces of a monorepo and pins the tool versions those tasks run with. Both halves read one lattice.json at the repo root, and either half works without the other. A workspace with no engines still runs and caches tasks. A workspace with no tasks of its own can still pin a tool version.

Start here

These pages get you from an empty repo to a cached run.

  • Installation gets the lattice binary onto your machine and shows what a pinned version does.
  • Getting started runs lattice init, then lattice run build twice, so the second run comes back from cache.
  • Upgrading covers moving a repo to a new Lattice version.

Do one thing in your own repo

Each guide solves one problem and assumes you already have a repo.

Understand how it decides

These pages explain the models behind the behavior. Read them when the output surprises you.

Look something up