Back to Docs
Tabs & Sessions

switch-tab

Switch to a tab by its index number or CDP target ID.

Usage

$ cdpilot switch-tab <index-or-id>

Arguments

NameRequiredDescription
index-or-idrequiredTab index (from tabs command) or target ID

Examples

Switch to the first tab

$ npx cdpilot switch-tab 0