# portable-pty

> portable-pty (v0.9.0, ~22.7M crates.io downloads) is the cross-platform pseudoterminal layer from the WezTerm terminal, published as its own crate. It starts a shell or program (cmd, PowerShell, bash, wsl.exe) and streams its input and output, so a Rust or Tauri app can pair it with a terminal screen such as xterm.js. It lives in the wezterm/wezterm repo, so the stars shown are WezTerm's. MIT, Rust only. A library for developers, not an end-user app.

- Repository: https://github.com/wezterm/wezterm
- Official docs: https://docs.rs/portable-pty
- Checked: 2026-10-22

## What it replaces
Nothing people pay for: a free tool, listed because people search for it.

## Used in these builds
- [Coding agents with a browser](https://repoquarry.dev/builds/agents-with-a-browser.md): Terminal process

## Facts, with sources

| Question | Status | Answer | Source | Checked |
|---|---|---|---|---|
| Runs on my machine? | Confirmed | Yes; it is a library compiled into your own app | https://docs.rs/portable-pty | 2026-10-22 |
| Code licence | Confirmed | MIT (the crate's own licence) | https://github.com/wezterm/wezterm/blob/main/pty/Cargo.toml | 2026-10-22 |
| Model weights licence | Confirmed | No separate model weights | https://docs.rs/portable-pty | 2026-10-22 |
| Commercial use | Confirmed | Yes, MIT | https://github.com/wezterm/wezterm/blob/main/pty/Cargo.toml | 2026-10-22 |
| Paid services needed? | Confirmed | None required | https://docs.rs/portable-pty | 2026-10-22 |
| Hardware | Unknown | Not documented | none found | - |
| Operating systems | Confirmed | Windows (ConPTY), macOS and Linux | https://docs.rs/portable-pty | 2026-10-22 |
| Setup effort | Confirmed | Easy for Rust developers; cargo add portable-pty | https://docs.rs/portable-pty | 2026-10-22 |


---
Source: RepoQuarry (https://repoquarry.dev/projects/portable-pty). Data licence: CC BY 4.0. Quotes are from project documentation and belong to their authors.
