# 使用 Homebrew, apk, apt, Nix 安装 xtitle

查看 xtitle 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:xtitle
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install xtitle
```

  证据: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add xtitle
```

  证据: Alpine Linux edge package indexes: xtitle from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install xtitle
```

  证据: Debian stable package indexes: xtitle from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- Nix (92%):

```sh
nix profile install nixpkgs#xtitle
```

  证据: nixpkgs package indexes: pkgs/by-name/xt/xtitle/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:xtitle
- **软件包管理器:** Homebrew
- **版本:** 1.0.4
- **来源摘要:** Set window title and icon for your X terminal
- **主页:** <https://kinzler.com/me/xtitle/>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- xtctl (别名)
- xtitle (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 1.0.4
## 项目历史与用法

xtitle is a compact shell-script utility for setting the window title and icon name of an xterm or xterm-like terminal by emitting the appropriate xterm control sequence.

### 项目历史

Stephen B. Kinzler's page describes xtitle as a tool so straightforward he originally would not have expected to package it, but it escaped into wider use and was given a man page, Imakefile, and companion `xtctl` script. The copyright span starts in 1993, and the manpage author line records updates in 1993, 1998, 2000, and 2009.

### 采用历史

xtitle spread because xterm title escape sequences are useful but annoying to remember. It appears in distro package sets mostly as a tiny convenience command for shell prompts, scripts, and users who keep many terminal windows open.

### 使用方式

Run `xtitle build logs`, `xtitle -t name`, or `xtitle -i icon-name` inside an xterm-like terminal to update the window title and/or icon name. The tool prints OSC title-control sequences rather than talking to Xlib directly.

### 为什么软件包爱好者会关心

xtitle is a tiny-package example: a one-purpose script became package-worthy because it captured a common X11 terminal idiom, documented it, and made it portable enough for package managers to ship.

### 时间线

- 1993: xtitle's copyright and manpage history begin.
- 1998: Manpage author line records a November 1998 update.
- 2000: Manpage author line records a March 2000 update.
- 2009: Manpage author line records a December 2009 update; current manual page reports version 1.0.4.
- 2014: Upstream page copyright range extends through 2014.

### Related projects

- xterm: the terminal whose title/icon-name control sequences xtitle emits.
- dtterm: listed by the manpage as another terminal known to work.
- xtermcontrol: a broader command-line controller for xterm properties.

### 来源

- <https://kinzler.com/me/xtitle/>
- <https://kinzler.com/me/xtitle/src/xtitle.html>
- <https://kinzler.com/me/xtitle/src/xtitle.man>
- <https://tldp.org/HOWTO/Xterm-Title-3.html>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals

## 其他软件包管理器记录

- Debian apt - xtitle - 1.0.4-1: normalized package name match | Debian stable package indexes: xtitle from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | set window title and icon name for X terminal | https://kinzler.com/me/xtitle/
- Nix - xtitle: normalized package name match | nixpkgs package indexes: pkgs/by-name/xt/xtitle/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - xtitle - 1.0.4-1: normalized package name match | Ubuntu 24.04 LTS package indexes: xtitle from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | set window title and icon name for X terminal | https://kinzler.com/me/xtitle/
- apk - xtitle - 0.4.4-r2: normalized package name match | Alpine Linux edge package indexes: xtitle from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Outputs X window titles | https://github.com/baskerville/xtitle


## Combined YAML source

View the package source record on GitHub. [combined/xtitle.yml](https://github.com/mxcl/pkgdb/blob/main/combined/xtitle.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
