NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm · #2265 most downloaded on npm
Fork pseudoterminals in Node.JS
Last release 1 months ago
03 Aug 2026
Ships fairly regularly
a new release about every 3 weeks
Most releases are documented
notes for 26 of 32 stable releases
Nothing withdrawn
no release was ever pulled
10 years old
197 releases · first in 2017
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Fixed IPty.kill when using ConPTY (#262, #263) via @Tyriar
IPty.kill when using ConPTY (#262, #263) via @TyriarAdded support on Windows 10 to use the Windows ConPTY API (#236) via @Tyriar, @zadjii-msft. This will be enabled by default if you're on Windows 10 bu
Added support on Windows 10 to use the Windows ConPTY API (#236) via @Tyriar, @zadjii-msft. This will be enabled by default if you're on Windows 10 build number 17692+. This is expected to fix many issues on Windows, probably most notably #7 and Microsoft/vscode#57803.
It can be disabled using experimentalUseConpty:
nodePty.spawn(file, args, {
experimentalUseConpty: false
});
Fix Windows quoting of arguments when an argument contains both a space and non-surrounding quotes (https://github.com/Microsoft/node-pty/pull/232) vi
Nothing published for this version
Nothing published for this version
Fix handling of quote escapes on Windows (#222) via @alexr00, arguments that contain spaces that are not surrounded in quotes are now correctly quoted
Include typings file with npm package #205 via @zijpn, @Tyriar
Nothing published for this version
Nothing published for this version
Nothing published for this version
Don't publish test files #202 via @coderaiser
Fixed an issue where the socket would sometimes not properly close on macOS High Sierra 10.13.2 (beta) https://github.com/Tyriar/node-pty/pull/164 via
Nothing published for this version
Fix a winpty native exception that could sometimes occur when calling Terminal.kill on Windows #160 via @Tyriar
Terminal.kill on Windows #160 via @TyriarTerminal.kill on Windows #160 via @TyriarNothing published for this version
This release exposes a native object on the module on Linux and macOS which gives direct access to the native node module backing node-pty. Note that
This release exposes a native object on the module on Linux and macOS which gives direct access to the native node module backing node-pty. Note that this is not public API and should not be relied upon, it will likely be removed in the future. https://github.com/Tyriar/node-pty/issues/153 via @Tyriar
All console processes running inside the pty should now be killed when killing the pty. This issue was observed frequently when running web servers vi
The exit code is now correctly emitted on Windows #75, #116 via @Tyriar
spawn options are now optional on Windows #115 via @Tyriarpid is now exposed on ITerminal in the TS declaration #119 via @TyriarFixed a compile issue on FreeBSD https://github.com/Tyriar/node-pty/issues/108 via @rse
Documented all ITerminal members with jsdoc #107 via @Tyriar
ITerminal members with jsdoc #107 via @TyriarITerminal.on('data', ...) or ITerminal.resume() to resume the stream #99 via @Tyriar, @hexa00on and other event emitter function to typings #105 via @Tyriar, @rollandjbFixed command line formed arguments (string) when running shells that contain a space in their path on Windows https://github.com/Tyriar/node-pty/issu
string) when running shells that contain a space in their path on Windows https://github.com/Tyriar/node-pty/issues/91Nothing published for this version
TypeScript type definitions are now correctly linked in the package.json file.
TypeScript type definitions are now correctly linked in the package.json file.
Upgraded to winpty@0.4.3
Upgraded to winpty@0.4.3
Nothing published for this version
Add simple type checks to Terminal constructor to make some common problems more obvious #59
Terminal constructor to make some common problems more obvious #59cfsetispeed and cfsetospeed over cfsetspeed to cover Solaris #77 via @jerchfork and createTerminal have been deprecated in favor of spawn https://github.com/Tyriar/node-pty/issues/43
Allow args to be specified in "CommandLine" format on Windows; a pre-escaped string that will be used as is https://github.com/Tyriar/node-pty/issues/41
var pty = require('pty');
pty.spawn('cmd', '/d /c "dir "test folder""');
Distribute TypeScript declaration files (.d.ts typing files) with the npm module https://github.com/Tyriar/node-pty/issues/50
fork and createTerminal have been deprecated in favor of spawn https://github.com/Tyriar/node-pty/issues/43Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →