# 使用 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/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-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/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

## 软件包事实

- **软件包键:** brew:wtype
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/wtype>
- **版本:** 0.4
- **来源摘要:** Xdotool type for wayland
- **主页:** <https://github.com/atx/wtype>
- **仓库:** <https://github.com/atx/wtype>
- **上游文档:** <https://github.com/atx/wtype#readme>
- **许可证:** MIT
- **源码归档:** <https://github.com/atx/wtype/archive/refs/tags/v0.4.tar.gz>
- **最后更新:** 2026-06-07T14:51:57Z
- **已生成:** 2026-07-08T18:08:21+00:00

## 可执行文件

- wtype (cli)
- wtype (别名)

## 依赖

- libxkbcommon
- wayland
- wayland-protocols

## 构建依赖

- meson
- ninja
- pkgconf

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-07-08
- 管理器版本: 0.4
- 管理器更新时间: 2026-06-07
- 本地数据: OK
- 上游仓库: https://github.com/atx/wtype
- 检测到的最新版本: v0.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。


## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** wtype
- **Version Scheme:** 0
- **Revision:** 0
- **Requirements:** linux
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

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

- 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-11.fc44: normalized package name match | Fedora Rawhide package metadata: wtype from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-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.12: normalized package name match | openSUSE Tumbleweed package metadata: wtype from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Xdotool type for Wayland | https://github.com/atx/wtype


## 相关链接

- [Source-control packages](https://www.automicvault.com/zh-hans/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Networking and protocol packages](https://www.automicvault.com/zh-hans/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Homebrew utility packages](https://www.automicvault.com/zh-hans/pkg/brew-utility-packages/) - Matched curated package taxonomy and local package facts.
- [libxkbcommon](https://www.automicvault.com/zh-hans/pkg/brew/libxkbcommon/) - Runtime dependency declared by Homebrew.
- [wayland](https://www.automicvault.com/zh-hans/pkg/brew/wayland/) - Runtime dependency declared by Homebrew.
- [meson](https://www.automicvault.com/zh-hans/pkg/brew/meson/) - Build dependency declared by Homebrew.
- [ninja](https://www.automicvault.com/zh-hans/pkg/brew/ninja/) - Build dependency declared by Homebrew.
- [pkgconf](https://www.automicvault.com/zh-hans/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [counterfeiter](https://www.automicvault.com/zh-hans/pkg/brew/counterfeiter/) - Local package facts share a topical domain. Shared terms: type.
- [davix](https://www.automicvault.com/zh-hans/pkg/brew/davix/) - Local package facts share a topical domain. Shared terms: protocols.
- [domain-check](https://www.automicvault.com/zh-hans/pkg/brew/domain-check/) - Local package facts share a topical domain. Shared terms: protocols.

## Combined YAML source

View the package source record on GitHub. [combined/wtype.yml](https://github.com/automic-vault/db/blob/main/combined/wtype.yml)


## 来源

- Nucleus package database
- package-page enrichment
- curated package history
- package version freshness
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
