# Install wtype with Homebrew, apk, apt, dnf, Nix, pacman, zypper

Xdotool type for wayland. Version 0.4 via Homebrew; verified 2026-06-07.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install wtype
```

  Evidence: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add wtype
```

  Evidence: 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
```

  Evidence: 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
```

  Evidence: 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
```

  Evidence: 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
```

  Evidence: 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
```

  Evidence: openSUSE Tumbleweed package metadata: wtype from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

## Package facts

- **Package key:** brew:wtype
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/wtype>
- **Version:** 0.4
- **Source summary:** Xdotool type for wayland
- **Homepage:** <https://github.com/atx/wtype>
- **Repository:** <https://github.com/atx/wtype>
- **Upstream docs:** <https://github.com/atx/wtype#readme>
- **License:** MIT
- **Source archive:** <https://github.com/atx/wtype/archive/refs/tags/v0.4.tar.gz>
- **Last updated:** 2026-06-07T14:51:57Z
- **Generated:** 2026-07-08T18:08:21+00:00

## Executables

- wtype (cli)
- wtype (alias)

## Dependencies

- libxkbcommon
- wayland
- wayland-protocols

## Build dependencies

- meson
- ninja
- pkgconf

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 0.4
- Package-manager updated: 2026-06-07
- Local data: ok
- Upstream repository: https://github.com/atx/wtype
- Upstream latest detected: v0.4 (current)
## Project history and usage

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.

### Project history

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.

### Adoption history

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.

### How it is used

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.

### Why package nerds care

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.

### Timeline

- 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.

### Sources

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


## Security Notes

No matching local secret-handling manifest was found for wtype. Nucleus package metadata is still published here so future coverage has a stable package URL.


## Source Database Details

- **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

## Other Package-Manager Records

- 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


## Related links

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


## Sources

- 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
