# WezTerm Mac 版：用 Lua 配置的跨平台终端

_As of 2026-11-27_

- **Version:** 20240203-110809
- **License:** Free

WezTerm 是一款免费的开源终端模拟器，支持 GPU 渲染并内置多路复用器。它可以在 macOS、Linux 和 Windows 上运行，通过一个 Lua 文件来配置。

WezTerm is one terminal for every desktop system: the same app and configuration file work on macOS, Linux and Windows. It combines a GPU-accelerated terminal with the pane and session management people usually add with tmux.
What it does well

Built-in multiplexer. Tabs, split panes and windows, on your Mac or on a remote host over SSH.
Lua configuration. Colours, fonts, key bindings and reactions to events are set in a Lua script that reloads when saved.
Fonts and text. Ligatures, colour emoji, font fallback and true colour, with many colour schemes included.
Images. Shows images through the iTerm2 and Kitty protocols and has its own wezterm imgcat command.

Who it is for
People who move between a Mac, Linux and Windows and want one terminal setup everywhere, and those who would rather script their terminal than click through settings.
Good to know
There is no settings window; you need to write a little Lua. Stable releases are rare, and newer fixes reach the nightly builds first. WezTerm uses its own tab bar rather than native macOS controls, so if you only use a Mac, Ghostty or iTerm2 feel more at home.
How to install

Unzip the download if your browser has not done it already.
Drag WezTerm to Applications.
The first time you open it, macOS asks you to confirm an app downloaded from the internet; click Open.
To change the defaults, create .wezterm.lua in your home folder; WezTerm picks up changes when you save.

> Source: https://macsoftpark.net/zh/wezterm/
