it2

iTerm2 API Command-Line Interface

Description

A powerful command-line tool for controlling iTerm2 programmatically through its WebSocket API.

it2 provides comprehensive control over iTerm2 sessions, tabs, windows, and content.
It supports both traditional flat command syntax and intuitive hierarchical navigation.

Commands

Options

--format (default "text")

Output format (text, json, yaml)

--timeout

Timeout for API operations

--url

WebSocket URL for iTerm2 API