Skip to main content

Overview

WezTerm’s launch configuration controls what programs run when you create new tabs and panes, how multiplexing domains are configured, and what options appear in the launcher menu.

Default Program

Specify the program to run when launching WezTerm:
If not specified, WezTerm will use your system’s default shell.

Default Working Directory

Set the initial working directory:
Or use a tilde path:

Launch Menu

The launch menu provides quick access to different shells and programs:

Platform-Specific Launch Menus

Multiplexing Domains

Domains enable persistent sessions and remote connections.

Unix Domains

Local persistent sessions using Unix sockets:

SSH Domains

Remote multiplexing over SSH:
SSH domains automatically appear in the launcher menu.

WSL Domains

Windows Subsystem for Linux integration:
WezTerm automatically detects installed WSL distributions:

TLS Domains

Secure remote multiplexing:

Spawn Commands

Define reusable spawn commands:

Default Domain

Set which domain to use by default:
Or connect to a multiplexer on startup:

Advanced Configuration

Per-Domain Default Programs

Environment Variables

Set environment variables for spawned programs:

Skip Launcher on Startup

Examples

Complete Launch Configuration

See Also