{"name":"TERM_PROGRAM","slug":"term-program","family":"env","title":"Environment variables","noun":"environment variable","description":"Environment reads go through one shared accessor; same variables, same behaviour.","description_source":"entry","described_by":{"version":"2.1.228","anchor":"environment-variables-read-through-one-shared-accessor"},"presence":{"first_seen":"2.1.138","removed_in":null,"in_current_build":true,"newest_mined":"2.1.308","builds":149,"mined_builds":149,"first_cited":null},"aliases":[],"entries":[{"version":"2.1.228","anchor":"environment-variables-read-through-one-shared-accessor","heading":"Environment variables read through one shared accessor","line":"Environment reads go through one shared accessor; same variables, same behaviour.","released_at":"2026-08-11 17:45:45","reason":"found in this entry's text"},{"version":"2.1.228","anchor":"about-220-more-environment-variables-move-to-the-typed-regis","heading":"About 220 more environment variables move to the typed registry","line":"About 220 environment variables now parse and validate in one place, including bounds checks.","released_at":"2026-08-11 17:45:45","reason":"found in this entry's text"},{"version":"2.1.191","anchor":"ghostty-terminal-detection","heading":"Ghostty Terminal Detection","line":null,"released_at":"2026-06-24 18:54:40","reason":"found in this entry's text"},{"version":"2.1.124","anchor":"cursor-ide-detection-accommodates-vscode-1-92-1-105","heading":"Cursor-IDE detection accommodates VSCode 1.92\u20131.105","line":null,"released_at":"2026-04-30 01:39:41","reason":"found in this entry's text"},{"version":"2.1.121","anchor":"iterm2-clipboard-integration","heading":"iTerm2 Clipboard Integration","line":null,"released_at":"2026-04-27 19:39:46","reason":"found in this entry's text"},{"version":"2.1.116","anchor":"terminal-improvements","heading":"Terminal Improvements","line":null,"released_at":"2026-04-20 19:24:52","reason":"found in this entry's text"},{"version":"2.1.105","anchor":"hyperlink-detection-improvements","heading":"Hyperlink Detection Improvements","line":null,"released_at":"2026-04-13 19:51:19","reason":"found in this entry's text"},{"version":"2.1.97","anchor":"zellij-terminal-multiplexer-detection","heading":"Zellij Terminal Multiplexer Detection","line":null,"released_at":"2026-04-08 21:27:55","reason":"found in this entry's text"},{"version":"2.0.55","anchor":"enhanced-terminal-version-detection","heading":"Enhanced Terminal Version Detection","line":null,"released_at":"2025-11-26 22:54:58","reason":"found in this entry's text"},{"version":"1.0.114","anchor":"windows-terminal-enhanced-support","heading":"Windows Terminal Enhanced Support","line":null,"released_at":"2025-09-15 21:08:05","reason":"found in this entry's text"}],"entries_total":10,"docs":[{"source":"claude-code","path":"env-vars","title":"Environment variables","documented":false},{"source":"claude-code","path":"terminal-config","title":"Configure your terminal for Claude Code","documented":false}],"docs_total":2,"gates":[],"related":[{"name":"TERM","slug":"term","description":"Plugin eval helpers ignore machine-wide git settings so results cannot be skewed."},{"name":"TERM_PROGRAM_VERSION","slug":"term-program-version","description":"Read together with `TERM_PROGRAM` in several terminal capability checks: an `iTerm.app` major version of `3` or more gets truecolor output, `tmux` version `3.4` or later counts as supporting hyperlinks, and a `ghostty` version of at least `1.2.0` or an `iTerm.app` version of at least `3.6.6` turns on terminal progress reporting when the `progressReporting` setting is unset. It is also sent as `term_program_version` in the `tengu_terminal_probe` telemetry event."},{"name":"TERMINAL","slug":"terminal","description":"On Linux, the command Claude Code prefers when it opens a new terminal window for a deep link: if set and it resolves to a command, that terminal is used. Otherwise it tries `x-terminal-emulator`, then a fixed list starting with `ghostty`, `kitty` and `alacritty`."},{"name":"TERMINAL_EMULATOR","slug":"terminal-emulator","description":"The value `JetBrains-JediTerm` marks a JetBrains IDE terminal: terminal detection reports it as `pycharm`, hyperlinks are treated as supported, and the synchronized output check counts it as settled. Its raw value is also recorded in an environment detection payload as `terminalEmulator`."},{"name":"TERMINATOR_UUID","slug":"terminator-uuid","description":"When set (and no earlier check in terminal detection matched, such as `TERM_PROGRAM`, `TMUX` or `VTE_VERSION`), the terminal is reported as `terminator`. Its presence is also recorded as `hasTerminatorUuid` in an environment detection payload."},{"name":"TERMUX_VERSION","slug":"termux-version","description":"Marks a Termux environment. When set together with `PREFIX`, the background daemon directory `cc-daemon-<uid>` is created under `$PREFIX\/tmp` instead of `\/tmp`, as is the fallback `cc-socks-<uid>` socket directory used when the usual socket path under `XDG_RUNTIME_DIR` would be too long. The sockets-directory ownership check also accepts the directory two levels above `$PREFIX` as a trusted root."}],"url":"https:\/\/changelogs.core-directive.com\/reference\/env\/term-program","family_url":"https:\/\/changelogs.core-directive.com\/reference\/env.json"}