System & Utilities

winpty

A Windows software package providing an interface similar to a Unix pty-master for communicating with Windows console programs.

By rprichard. Free and open source for Windows. Latest version 0.4.3, released 2017-05-17.

Is winpty safe?

Trust score 39/100: Low trust. Little evidence that this is safe or maintained. Only install it if you know the project, ideally in a sandbox or virtual machine.

Things to watch:

1,387 GitHub stars · 246k downloads · 11 contributors · OpenSSF Scorecard 1.7/10.

Download winpty

scoop bucket add extras; scoop install extras/winpty

Downloads come straight from github.com/rprichard/winpty.

About winpty

winpty is a Windows software package providing an interface similar to a Unix pty-master for communicating with Windows console programs. The package consists of a library (libwinpty) and a tool for Cygwin and MSYS for running Windows console programs in a Cygwin/MSYS pty.

The software works by starting the winpty-agent.exe process with a new, hidden console window, which bridges between the console API and terminal input/output escape codes. It polls the hidden console's screen buffer for changes and generates a corresponding stream of output.

The Unix adapter allows running Windows console programs (e.g. CMD, PowerShell, IronPython, etc.) under mintty or Cygwin's sshd with properly-functioning input (e.g. arrow and function keys) and output (e.g. line buffering). The library could be also useful for writing a non-Cygwin SSH server.

winpty runs on Windows XP through Windows 10, including server versions. It can be compiled into either 32-bit or 64-bit binaries.

Similar apps

Questions

Is winpty safe to download?

winpty has an OpenShelf trust score of 39/100 (Low trust). Little evidence that this is safe or maintained. Only install it if you know the project, ideally in a sandbox or virtual machine. Main thing to watch: No code changes in over a year.

Is winpty free?

Yes. winpty is free and open source under the MIT license. The source code is public at github.com/rprichard/winpty.

Does winpty work on Windows?

winpty is available for Windows.

How do I install winpty?

Use a package manager. Or install it with: scoop bucket add extras; scoop install extras/winpty.

What are alternatives to winpty?

Similar open-source apps: scrcpy (v5.0.1) (trust 81/100), Tauri (trust 75/100), Neovim (trust 71/100), Ghidra (trust 66/100).