it2 app launch
Launch iTerm2 if not running
Synopsis
it2 app launch [flags]
Description
Launch iTerm2 if it's not already running.
This is useful when running it2 from Terminal.app or other terminals.
Examples:
Launch iTerm2 and wait for it to be ready
$ it2 app launch
Launch iTerm2 without waiting
$ it2 app launch --no-wait
Launch with custom timeout
$ it2 app launch --timeout 60s
Options
-
--no-wait - Don't wait for iTerm2 to be ready (opposite of --wait)
-
--timeout(default "30s") - Timeout for waiting
-
--wait (default false) - Wait for iTerm2 to be ready
Options inherited from parent commands
-
--format(default "text") - Output format (text, json, yaml) - affects how command results are displayed
-
--url - WebSocket URL for iTerm2 API - typically ws://localhost:1912 for local iTerm2
See Also
- it2 app - Control the iTerm2 application
- it2 app get-variable - Get the value of an application-level variable
- it2 app quit - Quit iTerm2 application
- it2 app set-variable - Set a user-defined application-level variable
- it2 app settings - Manage iTerm2 application settings
- it2 app version - Get iTerm2 version information