# 使用 Homebrew, apk, apt, dnf, Nix, pacman, zypper 安装 wtype

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

## 安装

```sh
sudo av install brew:wtype
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install wtype
```

  证据: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add wtype
```

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

- Debian apt (92%):

```sh
sudo apt install wtype
```

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

- dnf (92%):

```sh
sudo dnf install wtype
```

  证据: Fedora Rawhide package metadata: wtype from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#wtype
```

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

- pacman (92%):

```sh
sudo pacman -S wtype
```

  证据: Arch Linux sync databases: wtype from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install wtype
```

  证据: openSUSE Tumbleweed package metadata: wtype from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## 软件包事实

- **软件包键:** brew:wtype
- **软件包管理器:** Homebrew
- **版本:** 0.4
- **来源摘要:** Xdotool type for wayland
- **主页:** <https://github.com/atx/wtype>
- **仓库:** <https://github.com/atx/wtype>
- **最后更新:** 2026-06-07T14:51:57Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- wtype (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

wtype is a small Wayland command-line utility that fills the role historically occupied by `xdotool type` on X11: programmatically injecting keyboard input into a desktop session. Its upstream README describes it tersely as "xdotool type for wayland", and the Arch manual clarifies that it works through the Wayland virtual-keyboard protocol.

### 项目历史

The project was started by Josef Gajdusek, with a manual page written by Michael Vetter. The public project is intentionally compact: the GitHub repository shows a C/Meson codebase, a small number of releases, and version 0.4 as the latest GitHub release dated January 27, 2022.

### 采用历史

wtype became useful during the desktop transition from X11 automation tools to Wayland compositors. Debian describes it as the Wayland counterpart to xdotool and packages it in the utilities section, while the Arch manual ships the upstream man page for version 0.4. That places wtype in the practical layer of Wayland migration: not a compositor itself, but a tiny tool scripts can call when a compositor supports the relevant protocol.

### 使用方式

Typical usage is direct text injection, typing from standard input, adding delays between keystrokes, and pressing or releasing modifiers or named keys. The upstream examples cover typing arbitrary text, holding Ctrl while sending `c`, reading from stdin, and inserting sleeps for more complicated key sequences.

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

Package maintainers care about wtype because it is one of the minimal Wayland-native answers to a familiar X11 automation problem. It is small, MIT-licensed, and sits near related desktop plumbing such as libxkbcommon, virtual keyboard protocols, and compositor policy decisions about whether simulated input should be allowed.

### 时间线

- 2020-11-23: The Arch-rendered man page records wtype 0.4 and credits the project starter and man-page author.
- 2022-01-27: GitHub lists v0.4 as the latest upstream release.
- 2026: Debian unstable packages wtype 0.4 and describes it as the Wayland pendant for xdotool.

### Related projects

- wtype is directly comparable to xdotool on X11, but uses Wayland's virtual-keyboard protocol rather than X11's input mechanisms. Debian also lists xdotool and libxdo-related packages as similar packages, showing the lineage of the use case.

### 来源

- <https://github.com/atx/wtype>
- <https://man.archlinux.org/man/extra/wtype/wtype.1.en>
- <https://packages.debian.org/unstable/utils/wtype>


## 安全说明

没有找到 wtype 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。


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

- Debian apt - wtype - 0.4-3: normalized package name match | Debian stable package indexes: wtype from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | xdotool type for wayland | https://github.com/atx/wtype
- Nix - wtype: normalized package name match | nixpkgs package indexes: pkgs/by-name/wt/wtype/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - wtype - 0.4-3: normalized package name match | Ubuntu 24.04 LTS package indexes: wtype from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | xdotool type for wayland | https://github.com/atx/wtype
- apk - wtype - 0.4-r0: normalized package name match | Alpine Linux edge package indexes: wtype from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | xdotool type for wayland | https://github.com/atx/wtype
- apk - wtype-doc - 0.4-r0: normalized package name match | Alpine Linux edge package indexes: wtype-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | xdotool type for wayland (documentation) | https://github.com/atx/wtype
- dnf - wtype - 0.4-12.fc45: normalized package name match | Fedora Rawhide package metadata: wtype from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | xdotool type for Wayland | https://github.com/atx/wtype
- pacman - wtype - 0.4-2: normalized package name match | Arch Linux sync databases: wtype from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | xdotool type for wayland | https://github.com/atx/wtype
- zypper - wtype - 0.4-1.14: normalized package name match | openSUSE Tumbleweed package metadata: wtype from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Xdotool type for Wayland | https://github.com/atx/wtype


## Combined YAML source

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


## 来源

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