阅读约 2 分钟在 GitHub 上编辑

此页面尚未翻译。以下正文为英文。

Upgrading

Home · Installation and channels · Configuration reference · FAQ

How to update Tessera, and which settings or paths migrate automatically.

Every system

Replace the program using the same method you used to install it (Installation and channels). Your configuration file stays in place. Tessera keeps unknown keys and never deletes them. Quit Tessera before you replace it, then start it again.

Linux

When you upgrade a Linux native package, upgrade tessera-ui-gtk or tessera-ui-qt alongside tessera so the interface plugin matches the controller. If you run Tessera with tessera service, run systemctl --user restart tessera after the upgrade.

macOS: the configuration folder moved

Older versions stored configuration in ~/.config/tessera, or $XDG_CONFIG_HOME/tessera when that variable held an absolute path. Tessera now stores configuration in one folder only:

~/Library/Application Support/Tessera/

The XDG variables no longer choose where the file is. They only tell Tessera which old folder to move.

What Tessera moves. When Tessera starts (or runs tessera service … or tessera mcp), it checks the old folder. If the old folder has a tessera.yml and the new folder has none, Tessera moves every entry into the new folder. This includes the configuration, your layouts folder, and all other entries. Tessera moves tessera.yml last, so an interrupted start resumes at the next start. The --help, --version, and read-only debug commands move nothing.

Links. If the old folder is a link, or sits behind one (a dotfiles repository, for example), Tessera does not empty it. The files stay in place, and Tessera links each entry from the new folder. Tessera recreates links that point outside the old folder so they point to the same file.

When both folders have a configuration file. The new file takes precedence, and Tessera leaves the old folder unchanged. Tessera reports this at start. Decide which file you want, copy what you need into ~/Library/Application Support/Tessera/tessera.yml, and delete the other folder yourself. Tessera never merges two files.

If the move fails, Tessera stops and shows "The configuration could not be moved to its new folder". Entries not moved yet stay in the old folder: fix the cause (permissions, or a link the move cannot handle) and start Tessera again.

The new folder also holds the single-instance lock and your custom layouts. Logs live in ~/Library/Logs/Tessera/tessera.log. After each Tessera update on macOS, grant Accessibility permission again (macOS).

The interface language follows your system

The default language is auto. Tessera selects the interface language in this order:

  1. The TESSERA_LANG environment variable.
  2. The language preference.
  3. Your system’s preferred languages.
  4. English.

If you chose a language yourself, your choice stays. To follow the system again, set language: auto. Tessera reports an unknown value, keeps it in the file, and reads it as auto.

Windows

If you have a configuration in %HOME%\.config\tessera\tessera.yml and none in %APPDATA%\Tessera\tessera.yml, Tessera keeps using the first one. When both exist, Tessera refuses to start, names both paths, and requires XDG_CONFIG_HOME to choose one. Tessera never moves or copies files automatically.

Because Windows releases are not code-signed, Windows SmartScreen can warn again after an update. Check the new download, then choose More info > Run anyway. For a portable .zip install, quit Tessera, unblock the new .zip file, and replace the extracted files.