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.
- Established community: 1,387 GitHub stars
- Around since 2012
- Listed in Scoop's curated Extras bucket
Things to watch:
- No code changes in over a year
- The latest release is more than 18 months old
- Weak automated security checks (OpenSSF Scorecard 1.7/10)
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
- scrcpy (v5.0.1): Display and control your Android device (High trust, 81/100)
- Tauri: Build smaller, faster, and more secure desktop and mobile applications with a web frontend. (High trust, 75/100)
- Neovim: Vim-fork focused on extensibility and usability (Good, 71/100)
- Ghidra: Ghidra is a software reverse engineering (SRE) framework (Good, 66/100)
- Zed: Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter. (Good, 73/100)
- Bitcoin: Bitcoin Core integration/staging tree (Good, 66/100)
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).