# iTerm2

iTerm2 terminal workspace software with qualified platform and session\-management capabilities\.

ID: Q1071 · Revision: 1119

Type: software · License: GNU GPL version 2[^iterm-license] · Status: active

Website: https://iterm2.com/



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\.[^iterm-features][^iterm-restore][^iterm-tmux]

## 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\.[^iterm-features]

## 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\.[^iterm-restore]

## 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\.[^iterm-tmux]

## 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\.[^iterm-profiles]

## Licensing and substitution

iTerm2 is GPL\-licensed and its repository includes version 2 text\. It can substitute for [WezTerm](/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\.[^iterm-license][^iterm-features][^iterm-tmux][^wez-mux][^wez-config]

## Capabilities and substitutions

### Local session restoration — limited

Can survive application crash or upgrade under documented settings, but not a machine reboot\.[^iterm-restore]

Use case: Terminal workspace management · Platforms: macOS · Region: Local platform and remote\-service requirements apply

### tmux graphical integration — supported

Control\-mode sessions appear in native windows; closing and detaching have different consequences\.[^iterm-tmux]

Use case: Terminal workspace management · Platforms: macOS · Region: Local platform and remote\-service requirements apply

### [Substitute for WezTerm](/wezterm) — limited

Provides native terminal workflows and tmux integration; remote requirements and configuration differ\.[^iterm-features][^iterm-tmux][^wez-mux]

Use case: macOS terminal work and remote persistent sessions · Platforms: macOS · Region: Local platform and remote\-service requirements apply

## References

[^iterm-license]: [iTerm2 license](<https://github.com/gnachman/iTerm2/blob/master/LICENSE>) — GPL version 2 (vendor; retrieved 2026-10-07T01:07:03Z)

[^iterm-features]: [iTerm2 features](<https://iterm2.com/features.html>) — Panes, profiles, search and shell integration (vendor; retrieved 2026-10-07T01:07:03Z)

[^iterm-restore]: [iTerm2 session restoration](<https://iterm2.com/documentation-restoration.html>) — Long\-lived servers, quit behavior and reboot limits (vendor; retrieved 2026-10-07T01:07:03Z)

[^iterm-tmux]: [iTerm2 tmux integration](<https://iterm2.com/documentation-tmux-integration.html>) — Control mode and distinction between detach and close (vendor; retrieved 2026-10-07T01:07:03Z)

[^iterm-profiles]: [iTerm2 dynamic profiles](<https://iterm2.com/documentation-dynamic-profiles.html>) — JSON profiles and limitations (vendor; retrieved 2026-10-07T01:07:03Z)

[^wez-mux]: [WezTerm multiplexing](<https://github.com/wezterm/wezterm/blob/main/docs/multiplexing.md>) — SSH domains require compatible remote WezTerm; Unix and TLS domains (vendor; retrieved 2026-10-07T01:02:32Z)

[^wez-config]: [WezTerm configuration files](<https://github.com/wezterm/wezterm/blob/main/docs/config/files.md>) — Lua file loading, error fallback and repeated evaluation (vendor; retrieved 2026-10-07T01:02:32Z)

Source revision: https://substitutefor.net/entities/Q1071?revision=1119
