{
 "kind": "tool",
 "slug": "node-pty",
 "path": "tools/node-pty/",
 "name": "node-pty",
 "maker": null,
 "density": "basic",
 "crumbs": [
  [
   "Tools",
   "tools/"
  ],
  [
   "Desktop and mobile apps",
   "tools/desktop-mobile/"
  ]
 ],
 "lead": "Fork pseudoterminals in Node.js for terminal emulation.",
 "chips": [
  {
   "label": "Desktop and mobile apps",
   "path": "tools/desktop-mobile/"
  },
  {
   "label": "NPM"
  }
 ],
 "primary": {
  "label": "Copy install command",
  "copy": "npm install node-pty"
 },
 "links": [
  {
   "label": "GitHub",
   "href": "https://github.com/microsoft/node-pty"
  },
  {
   "label": "Website",
   "href": "https://github.com/microsoft/node-pty"
  }
 ],
 "track": "New versions, deprecation and license changes on your dashboard",
 "verdicts": [
  {
   "key": "license",
   "label": "License",
   "value": "MIT",
   "status": "yes",
   "sub": "Use it in paid apps",
   "quote": null,
   "note": "License from npm.",
   "src": "https://github.com/microsoft/node-pty"
  },
  {
   "key": "maint",
   "label": "Maintained",
   "value": "Maintained",
   "status": "yes",
   "sub": "Last change Nov 2, 2026",
   "note": "Latest GitHub release Dec 22, 2025. ",
   "src": "https://github.com/microsoft/node-pty"
  },
  {
   "key": "pop",
   "label": "Used by agents' projects",
   "value": "32 projects",
   "status": "info",
   "sub": "#17 of 105 in its category",
   "note": "Dependency in 32 public GitHub projects set up for AI coding agents that we scanned (0.5%).",
   "src": null
  },
  {
   "key": "agent",
   "label": "Agent access",
   "value": "Install only",
   "status": "info",
   "sub": null,
   "note": "Agent skills for this library in the skills catalog; community skills are written by others, read them before you install.",
   "src": null
  }
 ],
 "vfoot": "From the package registry and GitHub, checked daily.",
 "blocks": [
  {
   "id": "overview",
   "nav": "Overview",
   "h2": "What node-pty does",
   "parts": [
    {
     "t": "prose",
     "text": "Fork pseudoterminals in Node.js for terminal emulation."
    }
   ]
  },
  {
   "id": "popularity",
   "nav": "Popularity",
   "h2": "node-pty popularity",
   "parts": [
    {
     "t": "stats",
     "items": [
      {
       "n": "58",
       "of": "/ 100",
       "l": "Gid Score, #1137 overall"
      },
      {
       "n": "6.3M",
       "l": "downloads a week, npm"
      },
      {
       "n": "2,064",
       "l": "GitHub stars"
      },
      {
       "n": "32",
       "l": "agent projects use it"
      }
     ]
    },
    {
     "t": "small",
     "text": "Gid Score measures public popularity and activity, not quality.",
     "link": "How the Gid Score is calculated",
     "path": "tools/top/"
    }
   ]
  },
  {
   "id": "usage",
   "nav": "How it is used",
   "h2": "How node-pty is used",
   "parts": [
    {
     "t": "list",
     "items": [
      "node-pty is a dependency in 32 of the 6,258 public GitHub projects set up for AI coding agents that we scanned (0.7% of the 4,867 JavaScript/TypeScript ones), #17 of 105 in desktop and mobile apps.",
      "Counting the projects our scan samples by dependency (Solana 3,067, Ethereum and EVM 1,774, 3D and games 3,130, agent frameworks and SDKs 13,750), it appears in 108; those are left out of every share on this page.",
      "The most used alternative in our scan is Electron (68 projects).",
      "Projects that use it most often also use xterm.js (65.6%), @xterm/addon-fit (62.5%), tsx (62.5%)."
     ]
    },
    {
     "t": "h3",
     "text": "By coding agent"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "25 projects, 0.8%",
       "v": "Claude Code",
       "path": "agents/claude-code/"
      },
      {
       "l": "13 projects, 0.4%",
       "v": "GitHub Copilot",
       "path": "agents/github-copilot/"
      },
      {
       "l": "9 projects, 2.7%",
       "v": "OpenClaw",
       "path": "agents/openclaw/"
      },
      {
       "l": "7 projects, 0.3%",
       "v": "Cursor",
       "path": "agents/cursor/"
      }
     ]
    },
    {
     "t": "h3",
     "text": "Often used with"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "In 65.6% of its projects",
       "v": "xterm.js",
       "path": "tools/xterm-xterm/"
      },
      {
       "l": "In 62.5% of its projects",
       "v": "@xterm/addon-fit",
       "path": "tools/xterm-addon-fit/"
      },
      {
       "l": "In 62.5% of its projects",
       "v": "tsx",
       "path": "tools/tsx/"
      },
      {
       "l": "In 65.6% of its projects",
       "v": "Vitest",
       "path": "tools/vitest/"
      },
      {
       "l": "In 50.0% of its projects",
       "v": "xterm.js Web Links Addon",
       "path": "tools/xterm-addon-web-links/"
      },
      {
       "l": "In 50.0% of its projects",
       "v": "ws",
       "path": "tools/ws/"
      },
      {
       "l": "In 46.9% of its projects",
       "v": "Electron",
       "path": "tools/electron/"
      },
      {
       "l": "In 46.9% of its projects",
       "v": "esbuild",
       "path": "tools/esbuild/"
      }
     ]
    }
   ]
  },
  {
   "id": "more",
   "nav": null,
   "spy_as": "usage",
   "h2": "More about node-pty",
   "parts": [
    {
     "t": "more",
     "items": [
      {
       "title": "More in Desktop and mobile apps",
       "path": "tools/desktop-mobile/",
       "items": [
        {
         "text": "React Native",
         "path": "tools/react-native/"
        },
        {
         "text": "Expo",
         "path": "tools/expo/"
        },
        {
         "text": "react-native-safe-area-context",
         "path": "tools/react-native-safe-area-context/"
        },
        {
         "text": "react-native-screens",
         "path": "tools/react-native-screens/"
        },
        {
         "text": "React Native Gesture Handler",
         "path": "tools/react-native-gesture-handler/"
        },
        {
         "text": "React Navigation",
         "path": "tools/react-navigation-native/"
        },
        {
         "text": "React Native Async Storage",
         "path": "tools/react-native-async-storage-async-storage/"
        },
        {
         "text": "react-native-svg",
         "path": "tools/react-native-svg/"
        }
       ]
      }
     ]
    }
   ]
  },
  {
   "id": "alternatives",
   "nav": "Alternatives",
   "h2": "Alternatives",
   "parts": [
    {
     "t": "alts",
     "items": [
      {
       "name": "node-pty",
       "me": true,
       "facts": [
        "MIT",
        "Gid 58",
        "6.3M/wk"
       ]
      },
      {
       "name": "Electron",
       "why": "Build cross-platform desktop apps with JavaScript, HTML and CSS.",
       "path": "tools/electron/",
       "facts": [
        "MIT",
        "Gid 83",
        "12.9M/wk"
       ]
      }
     ],
     "more": "Compare node-pty with another tool",
     "more_path": "tools/compare/"
    }
   ]
  },
  {
   "id": "start",
   "nav": "Get started",
   "h2": "Get started",
   "parts": [
    {
     "t": "install",
     "intro": "Install it.",
     "code": "npm install node-pty"
    },
    {
     "t": "gap",
     "text": "No step-by-step start for node-pty yet: we have not written its hand-checked card."
    }
   ]
  }
 ],
 "glance": [
  [
   "Package",
   "npm node-pty"
  ],
  [
   "Category",
   "Desktop and mobile apps"
  ],
  [
   "License",
   "MIT"
  ],
  [
   "Gid Score",
   "58.5"
  ],
  [
   "Rank in category",
   "#17 of 105"
  ],
  [
   "GitHub",
   "microsoft/node-pty"
  ],
  [
   "Last change",
   "Nov 2, 2026"
  ]
 ],
 "good": [],
 "checked_line": "From the package registry, GitHub and our scan of public agent projects; numbers update daily.",
 "logo": "https://agentgid.com/media/avatars/microsoft.png"
}