iTerm2 is a macOS terminal application with split panes, searchable profiles, output search and shell integration. It includes tools for navigating prior output and can integrate tmux sessions into its native interface. Its local session-restoration feature and tmux integration offer different forms of continuity, with different failure and shutdown boundaries.[2][3][4]
Output and profile workflows
Users can organize sessions in panes, search across tabs and use shell integration to identify prompts and working directories. Automatic profile switching can respond to the host, user or directory. These features help distinguish working contexts, but they do not independently verify the identity or permissions of a remote account.[2]
Local restoration limits
Session restoration runs jobs in long-lived servers and reconnects after an application crash or upgrade when the documented restoration settings are enabled. Ordinary Command-Q termination kills jobs by default, although an advanced setting changes this. A machine reboot still terminates jobs even if window contents return. Restored scrollback is consequently not proof that the old process is still running.[3]
Integration with persistent sessions
The tmux control-mode integration presents remote multiplexer windows as native iTerm2 windows. It can reconnect after the SSH client disconnects while tmux remains alive on its host. Detaching preserves the session, whereas closing the corresponding session, tab or window can kill it. A tmux tab also cannot contain ordinary non-tmux split panes.[4]
Portable profile definitions
Dynamic profiles live in monitored property-list files, including JSON representations. Stable identifiers distinguish profiles, and a malformed file can prevent updates from being processed. By default, editing a dynamic profile in the graphical settings does not write back to its source file; a Rewritable property provides an explicit opt-in. These details matter when maintaining shared profile definitions in version control.[5]
Licensing and substitution
iTerm2 is GPL-licensed and its repository includes version 2 text. It can substitute for WezTerm for Mac-based terminal work with tabs, panes and persistent remote workflows supplied through tmux. The remote architecture is different from WezTerm SSH domains, which require compatible WezTerm software on the host. Lua configuration and iTerm2 profiles are not interchangeable settings formats.[1][2][4][6][7]
Capabilities & limitations
Local session restoration
limited
Can survive application crash or upgrade under documented settings, but not a machine reboot.[3]
Terminal workspace management · macOS · Local platform and remote-service requirements apply