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/sdkUsing yarn
bash
yarn global add @lattice/cli @lattice/sdkUsing Python
bash
pip install lattice-sdk lattice-cliVerify Installation
bash
lattice --version
# Should output: lattice-cli v2.4.1SDK 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
});