Skip to main content
Back to home
Getting started

Installation & Setup

Configure the Lem AI CLI and environment to begin capturing institutional memory across your local and production workflows using our knowledge management tools.

1. Global installation

The Lem AI CLI is required for local project management and triggering autonomous context captures. Install it globally via npm to enable enterprise search tools on your machine.

Shell command
$npm install -g get-lem-ai

2. Project initialization

Navigate to the root directory of your project and run the setup command to initialize a fast enterprise search engine in your workspace. You will be prompted to enter your API key to link the project to your Lem AI workspace.

$get-lem-ai setup
> Enter API Key: lem_sk_...

3. Intelligent Branching

Lem AI monitors your local Git activity. When you create a new branch that matches a linked project task ID, Lem AI automatically generates a local implementation.md file to guide your development.

$git checkout -b feature/Lem-123
> Task Detected: Lem-123 (Auth Migration)
> Created: .lem/implementation.md

4. Verify Connection

Verify that your local environment is correctly synchronized with your workspace.

$get-lem-ai status
> Lem AI CLI v1.4.2
> Connected: marcus@lem.ai
> Project: My-App (Linked)

Security note

"Lem AI never stores your Git credentials. All communication is secured via your API Key and encrypted session tokens."