DocsGetting StartedInstallation

Installation

Detailed installation instructions for all platforms.

Lattice can be installed on any platform that supports Node.js or Python. Choose your preferred method below.

Using npm

bash
npm install -g @lattice/cli @lattice/sdk

Using yarn

bash
yarn global add @lattice/cli @lattice/sdk

Using Python

bash
pip install lattice-sdk lattice-cli

Verify Installation

bash
lattice --version
# Should output: lattice-cli v2.4.1

SDK Installation

For programmatic access to Lattice, install the SDK in your project:

javascript
// JavaScript/TypeScript
import { LatticeClient } from '@lattice/sdk';

const client = new LatticeClient({
  apiKey: process.env.LATTICE_API_KEY
});