zterm

Troubleshooting

Start with zterm doctor. It checks the install and changes nothing:

zterm doctor

It prints one line per check, each starting PASS, WARN, FAIL or SKIP, and a fix: line under every WARN and FAIL. It exits 1 when any check fails. It checks:

  • path: zterm, zc and zspawn are on PATH, at this zterm's version, and only once. A second copy later on PATH is a warning, because an upgrade replaces one copy and leaves the other.
  • zc daemon: the zc daemon answers, and it is the same build as the zc you run.
  • zc principal: zc knows who you are, from --as, ZC_AS or its config. It fails when there is no principal, with zc init as the fix, because every zc command refuses until there is one.
  • zc in harnesses: each installed agent harness (Claude Code, Codex) has zc registered as a tool server. A harness without it is a warning, with zc init as the fix. Skipped when no harness is installed.
  • zptyd: zptyd answers when it is in use (ZTERM_ZPTYD=1). On Linux it also finds a zptyd an older zterm left in XDG_RUNTIME_DIR, whose panes zterm ls does not list.
  • shell integration: the shell in this pane sends OSC 133 command marks. Run it inside a zterm pane, or this check is skipped. zterm adds the marks itself to a zsh, bash or PowerShell it starts as a pane's shell; fish needs shell/osc133.fish sourced.
  • skills: the agent skills in ~/.claude/skills and ~/.agents/skills match the ones this zterm ships. A file you edited is named on its own line, because zterm skill install keeps it. Skills a later zterm installed are kept too: doctor warns with that zterm's version, and an older zterm skill install writes nothing there, says which version installed them, and exits 1. Pass --downgrade to install the older skills anyway.
  • platform: on Linux, a control socket path, and logind's KillUserProcesses when zptyd is in use. On Windows, ConPTY and PowerShell. On macOS, where zterm runs from and its signature. macOS privacy grants can't be read without a prompt, so doctor doesn't check them.

Four more commands answer most of the rest, and none of them opens a window, so they all work on a machine where zterm itself won't start:

zterm config --path     # which settings file this build reads
zterm config --check    # does it parse
zterm theme --list      # which themes this zterm can draw
zterm ls-fonts "abc"    # which font draws what

A setting I wrote isn't doing anything

Check you edited the file zterm reads. zterm config --path prints it, and ZTERM_CONFIG overrides it, so a shell with that variable set is reading somewhere else.

If a zterm is already running, a plain zterm launch opens a tab in it, built from the running zterm's settings, and a ZTERM_CONFIG set on that launch is not read by anyone. The launch says so on stderr. ZTERM_INSTANCE=<name> zterm starts a separate zterm under its own name, and that one reads the file.

Then check the file parses:

zterm config --check

Exit 0 means it's fine, or absent, which is also fine. Exit 1 prints the problem on stderr.

One bad key takes the whole file down. A misspelled name, a value of the wrong type, and a number out of range all stop the file, and zterm starts on its shipped defaults. It isn't quiet about it: the reason goes to stderr and to the notice line on the splash. The alternative, applying half a file, would leave you with settings that look applied and aren't.

Some keys are read once at launch. The settings editor says which ones beside each key, so if a change is sitting there doing nothing, restart before hunting further.

I changed the settings file and zterm hasn't noticed

zterm reads the file at startup and on Reload Settings, in the command palette or ⇧⌘, (Ctrl+Shift+,). It doesn't watch the file. Themes are the same: write the file, reload, and every open pane has it.

My theme didn't take

A theme name zterm can't find is the one thing in the settings file that warns instead of refusing. You get dark, and a message on stderr and the splash naming what you typed and what would have worked.

zterm theme --list

That prints every theme this zterm can draw, and says on stderr why anything is missing. A theme file that doesn't parse is named there with its line number, and only that one theme drops out of the list.

Two names catch people. solarized isn't one: the vendor themes name a mood too, so it's solarized-dark or solarized-light. And light changed meaning on 2026-09-07. It used to be GitHub's Primer palette and is now a light theme of zterm's own; github-light is the old one, unchanged.

My font didn't take

zterm draws in the JetBrains Mono it ships with unless font_family names a font that's installed and sits on a grid. When it refuses one, the splash says which of the two problems it was: nothing on this machine claims that name, or the font exists and its letters aren't all the same width.

The grid check measures rather than asks, because some uniform fonts declare otherwise. It shapes M, i, W and l and compares the widths, so a font that's uniform in those four passes.

Some characters draw as boxes

zterm ls-fonts "字 ⠋ ▒"

Each character comes back with the family that drew it, whether it came out drawable, and whether the glyph came from your machine or from the bundle. It exits 1 if anything had no glyph at all, which is usually a machine with no CJK or emoji font installed rather than anything about zterm.

Characters your chosen font lacks come from the bundled face, so box drawing and block elements keep their size even in a font that draws them badly.

A key combination does nothing

Every default is listed in the keyboard shortcuts, on all three platforms, and the settings editor lists them too. If a chord is reaching the program in the pane instead of zterm, or the other way round, that page is where to look first. The command palette, ⇧⌘P or Ctrl+Shift+P, runs every action whether or not it has a chord, so it's the way through in the meantime.

On a Mac, Option+B and Option+F don't move by a word

Set option_as_alt in the settings file:

option_as_alt = "left"

On a Mac the Option key types your keyboard layout's extra characters: # on a UK keyboard, @ and [ on a German one. zterm leaves it doing that by default, so Option+F types ƒ and the shell never sees Alt+F. "left" makes the left Option key Alt and leaves the right one for characters, "right" is the reverse, and "both" makes both Alt.

Option with an arrow key, Backspace or Delete is Alt whatever this is set to, so Option+Left and Option+Right move by a word with no setting at all. The settings reference has the rest.

zterm update stopped my terminal

That is the installer: it stops the running terminal to replace it. On Windows and macOS zterm reopens by itself when the installer finishes, or when you cancel it. It does not reopen while Windows restarts for the install, or when the install ran from a .deb on Linux; open it yourself then. zterm update --check only reports whether a newer version is published, and is safe anywhere.

On Windows, a script that asks for admin opens outside zterm

A script that elevates itself with Start-Process -Verb RunAs gets a new console window from Windows, and that window goes to the default terminal. Set default_terminal to true and it opens in zterm's admin window instead. Admin tabs and the default terminal has the details.

To keep it in the tab you're in instead, run the script elevated from the start with Windows' own sudo, on Windows 11 24H2 or later. Turn on sudo in Inline mode (sudo config --enable normal from an admin prompt, or Settings > System > For developers), then:

sudo pwsh -File .\script.ps1

Use powershell in place of pwsh for Windows PowerShell. sudo script.ps1 on its own doesn't work, because a .ps1 file isn't a program. The script starts already elevated, so if it checks before relaunching itself, as most do, it never opens a window at all.

A web pane or the panel is blank or frozen

zterm usually fixes this itself. When the page's web engine process ends, or the page stops answering for about a minute, zterm opens the page again in a new view at the address it showed. This covers --web panes and the panel.

zterm reopens a page at most three times a minute. After that it leaves the page as it is, and you bring it back by hand:

  • A web pane: focus it and press Cmd+R on macOS or Ctrl+R on Linux and Windows, or run zterm perform reload_pane --target <pane>.
  • The panel: pick Panel: Hidden in the command palette, then Panel: Full. Or run zterm perform reload_panel.

Reporting a problem

Include the two lines of zterm --version, your platform, and what zterm config --check says. If it's about drawing, add the output of zterm ls-fonts for a string that goes wrong.