Skip to content
RepoQuarry

portable-pty

Compare

MIT Rust crate from WezTerm that starts shells in a pseudoterminal on Windows (ConPTY), macOS and Linux, for apps that embed a terminal.

Free tool inDeveloper tools

portable-pty at a glance

Checked 22 Oct 2026

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.

Cite this pageRepoQuarry. “portable-pty.” Checked 22 Oct 2026. https://repoquarry.dev/projects/portable-pty

What it replaces

Nothing people pay for: it’s a free tool, listed because people search for it. Find similar projects in Developer tools.

Facts, with sources

Every answer links to where we found it. We read the documentation; we did not install it.

Report a correction
QuestionAnswerSourceChecked
Runs on my machine? Confirmed: Yes; it is a library compiled into your own app docs.rs · portable-pty ↗ today
Code licence Confirmed: MIT (the crate's own licence) license = "MIT" github.com · Cargo.toml ↗ today
Model weights licence Confirmed: No separate model weights docs.rs · portable-pty ↗ today
Commercial use Confirmed: Yes, MIT license = "MIT" github.com · Cargo.toml ↗ today
Paid services needed? Confirmed: None required docs.rs · portable-pty ↗ today
Hardware Unknown: Not documented Know the answer? —
Operating systems Confirmed: Windows (ConPTY), macOS and Linux This crate provides a cross platform API for working with the psuedo terminal (pty) interfaces provided by the system. docs.rs · portable-pty ↗ today
Setup effort Confirmed: Easy for Rust developers; cargo add portable-pty docs.rs · portable-pty ↗ today

No licence changes since we started watching. Licence watch: follow portable-pty and we email you if its licence terms change.

Growth and activity in detail

Is it popular, and is anyone still working on it? From GitHub.

  • Actively maintained100+ people committing, active 9 of the last 12 weeks.

Numbers appear after the first nightly fetch from GitHub.

Cookie preferences

Choose what we may store in your browser. You can change this any time from Cookie settings in the footer.

Essential

Security, and remembering this choice. rq-consent · 12 months

Always on