Skip to Content
Getting Started

Getting Started

Welcome to Intentra CLI! This guide will help you install the CLI, set up hooks for your AI coding tools, and start monitoring your AI usage.

Prerequisites

  • macOS, Linux, or Windows
  • One or more supported AI tools:
    • Cursor IDE
    • Claude Code
    • Gemini CLI

Step 1: Install the CLI

macOS / Linux

curl -fsSL https://install.intentra.sh | sh

Or with Homebrew:

brew install intentra/tap/intentra

Verify Installation

intentra --version

You should see: intentra version 1.0.0

Step 2: Install Hooks

Install hooks for each AI tool you use:

For Cursor

intentra hooks install cursor

For Claude Code

intentra hooks install claude

For Gemini CLI

intentra hooks install gemini

Verify Hooks

intentra hooks status

Step 3: View Your Scans

Once hooks are installed, Intentra will automatically capture events as you use your AI tools.

View your captured scans:

intentra scan list

View detailed scan information:

intentra scan show <scan-id>

Optional: Configure Sync

By default, all data is stored locally in SQLite. To sync with a remote server:

# Authenticate with Intentra service intentra auth login # Configure sync settings intentra config set sync.enabled true

What’s Next?