it2 tmux attach

Attach to tmux session

Synopsis

it2 tmux attach <connection-id> [session-name]

Description

Attach to a tmux session. If session-name is provided, attaches to that specific session.

Examples

# Attach to default session
$ it2 tmux attach conn-123
# Attach to specific session
$ it2 tmux attach conn-123 development
# Attach to numbered session
$ it2 tmux attach conn-123 0

Options inherited from parent commands

--format (default "text")

Output format (text, json, yaml) - affects how command results are displayed

--timeout

Timeout for API operations - how long to wait for iTerm2 to respond

--url

WebSocket URL for iTerm2 API - typically ws://localhost:1912 for local iTerm2

See Also