xterm.js

xtermjsMIT活跃维护

在浏览器里跑一个完整的终端模拟器,支持 VT100、WebGL 渲染和 SSH/PTY 连接,适合做 Web IDE、在线运维面板或云开发环境。

A terminal for the web

6.0.0发布于 2025-12-22 13:59 UTC21,337star +10 / 7 天2,050fork同步于 2026-11-10 11:23 UTC

怎么上手

由 README 提炼,执行前请确认
npm install --save @xterm/xterm
import { Terminal } from '@xterm/xterm';
硬件要求按 README 说明

README 未说明显存或 CPU 要求;浏览器端支持最新版 Chrome、Edge、Firefox、Safari,也可在 Electron 应用中使用。

下载:源码 zip·GitHub Releases(安装包)本站不镜像安装包

项目说明

由 README 自动翻译提炼

浏览器里跑终端的前端组件,把 bash、vim 等终端程序搬进网页应用

在浏览器里跑一个完整的终端模拟器,支持 VT100、WebGL 渲染和 SSH/PTY 连接,适合做 Web IDE、在线运维面板或云开发环境。

核心能力

  • 兼容 bash、vim、tmux 等终端程序及 curses 应用
  • 提供可选 GPU 加速渲染器提升绘制性能
  • 支持 CJK、emoji 与输入法,可开屏幕阅读器模式
  • 核心库零依赖,通过 addon 扩展链接、搜索、WebGL 等能力
  • 提供 @xterm/headless 在 Node.js 中无头运行

容易踩的坑

它本身不是可直接下载使用的终端程序,需配合 node-pty 等伪终端库连接 bash 等进程;必须额外引入 css/xterm.css,否则样式异常;链接、搜索、WebGL 渲染等功能需单独安装对应 addon 并调用 loadAddon。

内容由模型根据 README 生成,可能不完整或不准确,以官方文档为准。看原文 README

最近发版

5 个版本6.0.0
  1. 6.0.0最新正式版2025-12-22 · 2025-12-22 13:59 UTC

    Features

    • #5453 Add synchronized output support (DEC mode 2026)
    • #5436 add range to IHTMLSerializeOptions
    • #5334 Support shadow dom in webgl renderer
    • #5285 Support detailed ligatures and variants
    • #5251 progress-addon
    • #5234 Add reflowCursorLine option
    • #5224 putty-style ED2 sequence handling as terminal option
    • #5107 Add top/bottom border overview ruler options
      • :warning: This is a breaking change, ITerminalOptions.overviewRulerWidth is now a property of ITerminalOptions.overviewRuler
    • #5096 Integrate base/ platform from VS Code and adopt scroll bar
      • :warning: This is a potential breaking change, the viewport/scroll bar works very differently now
    • #5092 Add support for ESM via esbuild
    • #5034 Expose onWriteParsed on API
    • #4220 Add support to ANSI OSC52

    Fixes

    • #5445 Prefer performance.now() over Date.now()
    • #5437 Prevent entire page from scrolling when scrolling in alt buffer with mouse event off
    • #5423 Clear selection on vertical resize
    • #5411 Fix teleport when exiting out of alt buffer. v2
    • #5391 Bring back partial wheel tracking
    • #5390 Fix scrollbar teleport after exiting alt buffer
    • #5386 fix: ensure that currentRow can not go out of the range
    • #5385 Fix terminal find when wrapped
    • #5355 Add note about reverse tabnapping
    • #5346 Remove alt -> ctrl+arrow hack in favor of embedder-specific solutions
      • :warning: This is a breaking change, you will need to add keybindings in your code if you want alt to map to ctrl still
    • #5337 Fix finding terms across wrapped lines
    • #5335 webgl: Ignore alpha channel when allowTransparency is false
    • #5328 Refresh viewport after clear or ED
    • #5305 Fix issue where listeners remain after WebglRenderer throws
    • #5291 Make ProgressAddon.onChange non undefined
    • #5282 Fixed CapsLock triggering input twice in MacOS.
    • #5279 Fixes: #5270 regex case-sensitive should behave like monaco
    • #5278 Handle glyph widths up to the maximum device texture size
    • #5277 Disable ligatures when cursor is in range
    • #5276 Fix selection rendering on ligatures in both renderers
    • #5265 Revert to cursor options after DECSCUSR 0
    • #5263 Make textarea readonly when disableStdin is set
    • #5262 Blend cursorAccent with background too
    • #5260 Blend cursor with background to support alpha in webgl
    • #5253 bug: properly render the terminal when open() is called again
    • #5249 Fix click event bug caused by DomRenderer replaceChildren behavior
    • #5209 Ensure last ligature cell is updated
    • #5208 Set liga font feature when ligatures is enabled
    • #5182 fix #5181
    • #5171 Fix links sometimes not activating
    • #5139 Fix image addon not being able to render some jpeg images in IIP
    • #5127 Fix scroll dimensions when switching buffers
    • #5122 Use main document to create viewport element
    • #5102 Ensure decorations are refreshed when origin of scroll event is buffe…
    • #5099 Remove overflow to allow decorations outside terminal
    • #5088 Sync DOM decoration styles when line height/width changes
    • #5067 Correct addon-clipboard ctor types
    • #5027 Finish OSC hyperlinks when the second param is only whitespace
    • #5024 Fix duplicate input for some IMEs
    • #5020 Escape Unsafe HTML Characters in addon-serialize
    • #5003 Support semi-colons in OSC 8 hyperlink URIs
    • #4984 Clear timer when dispose

    Performance

    • #5403 Add SearchLineCache for improved search performance
    • #5066 Speed up clearing all markers, mass event listener dispose
    • #5038 Speed up insertion and deletion of values in SortedList by batching and deferring to idle task
    • #5037 Prevent smooth scroll from running more than once per frame
    • #4936 fix: memory leak in CoreBrowserService
    • #4933 Check after updating the SelectionRenderModel
    • #4879 Align character position in a11y tree with the actual rendering

    Internal/minor changes

    • #5462 Remove deprecated windowsMode and fastScrollModifier
      • :warning: This is a breaking change, these deprecated properties
  2. 5.5.02024-04-05 · 2024-04-05 14:02 UTC
    查看更新说明

    🚀 Features

    📦 API

    • New opt-in rescaleOverlappingGlyphs option that will conservatively rescale glyphs that likely overlap with the following cell when GPU acceleration is enabled (#4997, #5001, #5012, #5013) via @Tyriar.

      Webgl with the setting off:

      image

      Webgl with the setting on:

      image

      This was primarily added to help with applications that want to achieve GB18030 compliance.

    🐞 Bug fixes

    • Improve detection of node and browser, fixing an issue where named colors may not work in themes (#5006) via @Tyriar, @krassowski
    • Fix DOM renderer blink animation (#5009) via @Tyriar, @RahjIII

    📝 Documentation and internal improvements

    • Add default scrollback value to .d.ts (#4993) via @Tyriar

    📥 Addons

    @xterm/addon-search

    • Fix an issue where search decorations would go out of sync (#5008) via @Tyriar, @tabarra

    🤝 Compatible addon versions

    AddonVersion
    @xterm/addon-attach0.11.0
    @xterm/addon-canvas0.7.0
    @xterm/addon-fit0.10.0
    @xterm/addon-image0.8.0
    @xterm/addon-ligatures0.9.0
    @xterm/addon-search0.15.0
    @xterm/addon-serialize0.13.0
    @xterm/addon-unicode-graphemes0.3.0
    @xterm/addon-unicode110.8.0
    @xterm/addon-web-links0.11.0
    @xterm/addon-webgl0.18.0
  3. 5.4.02024-03-01 · 2024-03-01 17:12 UTC
    查看更新说明

    📢 The package has been migrated to the @xterm scope (#4860, #4861) via @Tyriar. This means that the old xterm and xterm-* packages are now deprecated and will no longer be maintained. This was done mainly for security reasons to remove ambiguity around the package names and to prevent potential typosquatting attacks.

    Please use the new scoped @xterm/* packages.

    📦 API

    • input(data: string, wasUserInput?: boolean): void API to emit an input event from Terminal (#4953) via @arencoskun
    • documentOverride option to help multi-window app support (#4844) via @Tyriar
    • attachCustomWheelEventHandler API to allow embedders to intercept wheel events (#4913, #4915) via @Tyriar, @tisilent

    🐞 Bug fixes

    • Selection is now synchronized between the accessibility tree and the main selection model (#4742) via @JasonXJ
    • Fix and add integration tests for inactive selection drawing (#4763, #4808) via @tisilent
    • Fix a possible exception when disposing Terminal (#4776, #4785) via @Tyriar
    • Fix handling of invisible characters in the DOM renderer (#4762) via @tisilent
    • Improve reliability of playwright tests across browsers (#4777) via @Tyriar
    • Fix inverse minimum contrast ratio edge cases (#4778) via @Tyriar
    • Fix regression in forced mouse selection handling (#4783) via @Tyriar
    • Always render cursor above selection in the DOM renderer (#4786) via @Tyriar
    • Get voice over to announce terminal output consistently (#4789) via @meganrogge
    • Use isCursorInitialized correctly in the DOM renderer (#4798) via @tisilent
    • Move WidthCache measurment container to the helper element (#4807) via @mofux
    • Fix DOM renderer showing selection overflowing its container (#4815, #4837) via @tisilent
    • Don't re-render after parse if the viewport did not change (#4820) via @Tyriar
    • Send correct code for ctrl+alt+backspace (#4839) via @JasonXJ
    • Make xterm.js multi-window aware (#4846, #4912) via @Tyriar, @jeanp413
    • Fix node process check for node v21+ (#4851) via @davidfiala
    • Improve non-browser usage of xterm package by preferring globalThis over self (#4856) via @alan-agius4
    • Fix crosshair cursor not working (#4921) via @Tyriar
    • Fix exception in render service (#4954) via @Tyriar
    • Fix spacing when measuring before element is attached to the DOM (#4973) via @Tyriar

    📝 Documentation and internal improvements

    • New default text metrics measure strategy (#4929) via @Tyriar. This should improve general performance and also some cases where characters would be cut off.
    • The addon repository package.jsons now point at the correct URL (#4795) via @ujjwalpandey922
    • Upgrade from es6 target to es2021 (#4743) via @Tyriar
    • Set up shared playwright tests for the DOM and canvas renderers (#4768, #4770) via @Tyriar
    • Add Edge as a debug target (#4782) via @Tyriar
    • Fix server debugging target (#4784) via @Tyriar
    • Tweak worker use in playwright tests (#4787) via @Tyriar
    • Remove noisy trace calls (#4796, #4919) via @Tyriar
    • Remove duplicate overviewRulerWidth from demo (#4803) via @tisilent
    • Clean up setCellFromCodePOint internal API (#4825) via @PerBothner
    • Update node-pty (#4832) via @Tyriar
    • Have addons implement their API so it's checked at compile time (#4847) via @tisilent
    • Fix image addon build (#4862) via @Tyriar
    • Remove testing on node v16 (#4866) via @silamon
    • Help embedders avoid memory leaks by unsetting options on dispose (#4910) via @Tyriar
    • Improve structure of link implementation (#4924) via @Tyriar
    • Refactor color handling code and add tests (#4927) via @Tyriar
    • Update eslint and eslint-plugin-jsdoc (#4930) via @PerBothner
    • Ignore out/ dirs in eslint (#4931) via @Tyriar

    ⚠️ Deprecations

    • The old xterm and xterm-* packages are now deprecated and will no longer be maintained. Please use the new scoped @xterm/* packages instead.

    📥 Addons

    @xterm/addon-canvas

    • Add underline variants to make underline patterns appear
  4. 5.3.02023-09-07 · 2023-09-07 18:03 UTC
    查看更新说明

    🚀 Features

    • The default DOM-based renderer is significantly faster now (#4605, #4631, #4651, #4662, #4681, #4754) via @jerch, @Tyriar, @PerBothner, @tisilent
    • The smooth scroll feature now affects scrollLines, scrollPages,scrollToLine, scrollToTop and scrollToBottom (#4482, #4714) via @tisilent, @Tyriar
    • minimumContrastRatio now applies 50% of the contrast ratio to dimmed text (#4672) via @Tyrira

    📦 API

    • There's a new trace log level (#4687, 4709) via @Tyriar
      const term = new Terminal({
          logLevel: 'trace'
      });
      
    • New logger delegate option (#4563, #4564) via @Tyriar. This new API allows the embedder to define the logging behavior, instead of always using to console
      const term = new Terminal({
          logger: {
              trace: (e, args) => console.log('trace: ', e, args),
              debug: (e, args) => console.log('debug: ', e, args),
              info: (e, args) => console.log('info: ', e, args),
              warn: (e, args) => console.log('warn: ', e, args),
              error: (e, args) => console.log('error: ', e, args)
          }
      });
      
    • New ignoreBracketedPasteMode option that allows explicitly disabling bracketed paste mode, regardless of whether the shell enables it or not (#4636) via @Tyriar
      const term = new Terminal({
          ignoreBracketedPasteMode: true
      });
      
    • New cursorInactiveStyle option (#4657) via @tisilent
      const term = new Terminal({
          cursorInactiveStyle: 'none'
      });
      

    🐞 Bug fixes

    • Fix character size being affected by CSS transformations (#4366) via @arekouzounian
    • Fix mouse tracking behavior (#4583) via @jerch
    • Improve rendering of the DOM renderer's underline cursor (#4584) via @dlech
    • Fix issues in the accessibility tree (#4637) via @meganrogge
    • Fix reset and clear leaving viewport in a bad state (#4638) via @Tyriar
    • Fix API facade memory leaks (#4655) via @Tyriar
    • Fix memory leak in cursor blink state manager (#4659) via @SvanT
    • Fix inverse rendering when a transparent foreground is used (#4667) via @Dennnnny
    • Fix disposing of decorations (#4671) via @Tyriar
    • Render selection background consistently in the DOM renderer (#4673) via @Tyriar
    • Improve rendering of powerline circle line custom glyph (#4729) via @tisilent
    • Improve texture atlas utilization and fix glyph corruption when merging (#4732) via @Tyriar

    📝 Documentation and internal improvements

    • Improve safety of log service (#4565) via @Tyriar
    • Exploring use of CSSStyleSheet web API (#4611, ##4619, #4678, #4680) via @SimonSiefke, @Tyriar
    • Update TypeScript to 5.1.6 (#4612) via @SimonSiefke
    • Mention discussions in CONTRIBUTING.md (#4617) via @Tyriar
    • Improve type safety of ColorIndex (#4618) via @Tyriar
    • Fix demo light theme cursor colors (#4626) via @Tyriar
    • Add nvmrc using node 16 (#4666) via @Tyriar
    • Restrict comments to 100 characters (#4668) via @Tyriar
    • Lint API xterm.d.ts file (#4669, #4677) via @Tyriar
    • General clean up (#4676, #4683, #4688, #4689, #4733) via @Tyriar
    • Reduce repetition with internal terminal types and inherit docs from API (#4679) via @Tyriar
    • Improve lifecycle of WebLinksAddon.api, test all country tlds (#4691) via @Tyriar
    • Stub out all CSI api tests (#4692) via @Tyriar
    • Migrate to GitHub Actions and speed up CI (#4693, #4697, #4698, #4699, #4700, #4710, #4712, #4715, #4716, #4734) via @Tyriar
    • Fix spaces in bce demo (#4694) via @jerch
    • Add automatic resize to demo (#4695) via @PerBothner
    • Add no unused variables lint warning (#4718) via @Tyriar
    • Fix demo warnings (#4721, #4722) via @Tyriar
    • Adopt @ts-check in JS files (#4723, #4724) via @Tyriar
    • Warn on eslint rule @typescript-eslint/no-useless-constructor (#4725) via @Tyriar
    • Warn on eslint rule @typescript-eslint/no-confusing-void-expression (#4726) via @Tyriar
    • Start migration to @playwright/test
  5. 5.2.12023-06-10 · 2023-06-10 21:01 UTC
    查看更新说明

    🐞 Bug fixes

    • Fix NPEs on buffer line and windowsPty option (#4551) via @Tyriar

用户点评

登录用户的真实使用记录,可按版本和硬件筛选
共 0 条

    还没有人点评。第一个说出真实体验的人最有价值。

    README 原文

    未翻译

    xterm.js

    Xterm.js is a frontend component that enables applications to bring fully-featured terminals to their users in the browser. It's used by popular projects such as VS Code (and its forks), Tabby and Hyper.

    Features

    • Terminal apps just work: Xterm.js works with most terminal apps such as bash, vim, and tmux, including support for curses-based apps and mouse events.
    • Performant: Xterm.js is really fast and includes an optional GPU-accelerated renderer.
    • Rich Unicode support: Supports CJK, emojis, and IMEs.
    • Self-contained: The core library has zero dependencies.
    • Accessible: Screen reader mode and minimum contrast ratio support can be turned on.
    • And much more: Links, theming, custom glyphs, addons, well documented API, etc.

    What xterm.js is not

    • Xterm.js is not a terminal application that you can download and use on your computer.
    • Xterm.js is not bash. Xterm.js can be connected to processes like bash and let you interact with them (provide input, receive output) through a library like node-pty.

    Getting Started

    First, you need to install the module. We ship exclusively through npm, so you need that installed and then add @xterm/xterm as a dependency by running:

    npm install --save @xterm/xterm
    

    The recommended way to load xterm.js with the ES module syntax, either using TypeScript or a modern JS tooling. Note that both CommonJS and ES module files are shipped with the npm package.

    import { Terminal } from '@xterm/xterm';
    

    Then instantiate a Terminal object, open it on an element and write to it:

    const term = new Terminal();
    term.open(document.getElementById('terminal'));
    term.write('Hello from \x1B[1;3;31mxterm.js\x1B[0m $ ')
    

    Most use cases will hook up input and output to a pseudoterminal API such as node-pty which will drive the terminal.

    pty.onData(data => term.write(data));
    term.onData(data => pty.write(data));
    

    Then make sure to also include the css/xterm.css file, for example in HTML:

    <link rel="stylesheet" href="node_modules/@xterm/xterm/css/xterm.css" />
    

    Standalone example

    Here is a complete standalone example in a HTML file:

    <!doctype html>
      <html>
        <head>
          <link rel="stylesheet" href="node_modules/@xterm/xterm/css/xterm.css" />
          <script src="node_modules/@xterm/xterm/lib/xterm.js"></script>
        </head>
        <body>
          <div id="terminal"></div>
          <script>
            const term = new Terminal();
            term.open(document.getElementById('terminal'));
            term.write('Hello from \x1B[1;3;31mxterm.js\x1B[0m $ ')
          </script>
        </body>
      </html>
    

    Addons

    Addons are separate modules that extend the Terminal by building on the xterm.js API. To use an addon, you first need to install it in your project:

    npm install --save @xterm/addon-web-links
    

    Then import the addon, instantiate it and call Terminal.loadAddon:

    import { Terminal } from '@xterm/xterm';
    import { WebLinksAddon } from '@xterm/addon-web-links';
    
    const terminal = new Terminal();
    // Load WebLinksAddon on terminal, this is all that's needed to get web links
    // working in the terminal.
    terminal.loadAddon(new WebLinksAddon());
    

    The xterm.js team maintains the following addons, but anyone can build them:

    Browser Support

    Since xterm.js is typically implemented as a developer tool, generally only modern evergreen browsers are supported officially. Specifically the latest versions of Chrome, Edge, Firefox, and Safari. Xterm.js also works seamlessly in Electron apps and may even work on earlier versions of the browsers. These are the versions we strive to keep working.

    Node.js Support

    We also publish @xterm/headless which is a stripped down version of xterm.js that runs headless in Node.js. An example use case for this is to keep track of a terminal's state where the process is running and using the serialize addon so it can get all state restored upon reconnection.

    API

    The full API for xterm.js is contained within the TypeScript declaration file, use the branch/tag picker in GitHub (w) to navigate to the correct version of the API.

    Some APIs may be marked with experimental, these are added to enable experimentation with new ideas without committing to support it like a normal semver API. Note that these APIs can change radically between versions, so be sure to read release notes if you plan on using experimental APIs.

    Releases

    Stable releases are done on an as needed basis. All current and past releases are available on this repo's releases page, you can see what's planned for upcoming releases looking through the repository milestones.

    Beta builds

    Beta releases are continuously published off the master branch. Install the latest beta build with:

    npm install --save @xterm/xterm@beta
    

    The principal implementation (VS Code) typically uses the latest or near the latest beta build. Generally they are quite stable but can potentially contain bugs or breaking changes. If stability is very important we recommend using the beta build primarily to test out new features and to verify bug fixes, unless you're tracking what's landing and are comfortable taking that risk.

    Contributing

    Read CONTRIBUTING.md to learn how to contribute to the project.

    Real-world uses

    Xterm.js is used in many world-class applications to provide great terminal experiences.

    • SourceLair: In-browser IDE that provides its users with fully-featured Linux terminals based on xterm.js.
    • Microsoft Visual Studio Code: Modern, versatile, and powerful open source code editor that provides an integrated terminal based on xterm.js.
    • ttyd: A command-line tool for sharing terminal over the web, with fully-featured terminal emulation based on xterm.js.
    • Eclipse Che: Developer workspace server, cloud IDE, and Eclipse next-generation IDE.
    • Codenvy: Cloud workspaces for development teams.
    • CoderPad: Online interviewing platform for programmers. Run code in many programming languages, with results displayed by xterm.js.
    • WebSSH2: A web based SSH2 client using xterm.js, socket.io, and ssh2.
    • Spyder Terminal: A full fledged system terminal embedded on Spyder IDE.
    • Cloud Commander: Orthodox web file manager with console and editor.
    • Next Tech: Online platform for interactive coding and web development courses. Live container-backed terminal uses xterm.js.
    • RStudio: RStudio is an integrated development environment (IDE) for R.
    • Terminal for Atom: A simple terminal for the Atom text editor.
    • Eclipse Orion: A modern, open source software development environment that runs in the cloud. Code, deploy, and run in the cloud.
    • Gravitational Teleport: Gravitational Teleport is a modern SSH server for remotely accessing clusters of Linux servers via SSH or HTTPS.
    • Hexlet: Practical programming courses (JavaScript, PHP, Unix, databases, functional programming). A steady path from the first line of code to the first job.
    • Selenoid UI: Simple UI for the scalable golang implementation of Selenium Hub named Selenoid. We use XTerm for streaming logs over websockets from docker containers.
    • Portainer: Simple management UI for Docker.
    • SSHy: HTML5 Based SSHv2 Web Client with E2E encryption utilising xterm.js, SJCL & websockets.
    • JupyterLab: An extensible computational environment for Jupyter, supporting interactive data science and scientific computing across all programming languages.
    • Theia: Theia is a cloud & desktop IDE framework implemented in TypeScript.
    • Opshell Ops Helper tool to make life easier working with AWS instances across multiple organizations.
    • Proxmox VE: Proxmox VE is a complete open-source platform for enterprise virtualization. It uses xterm.js for container terminals and the host shell.
    • Script Runner: Run scripts (or a shell) in Atom.
    • Whack Whack Terminal: Terminal emulator for Visual Studio 2017.
    • VTerm: Extensible terminal emulator based on Electron and React.
    • electerm: electerm is a terminal/ssh/sftp client(mac, win, linux) based on electron/node-pty/xterm.
    • Kubebox: Terminal console for Kubernetes clusters.
    • Azure Cloud Shell: Azure Cloud Shell is a Microsoft-managed admin machine built on Azure, for Azure.
    • atom-xterm: Atom plugin for providing terminals inside your Atom workspace.
    • rtty: Access your terminals from anywhere via the web.
    • Pisth: An SFTP and SSH client for iOS.
    • abstruse: Abstruse CI is a continuous integration platform based on Node.JS and Docker.
    • Azure Data Studio: A data management tool that enables working with SQL Server, Azure SQL DB and SQL DW from Windows, macOS and Linux.
    • FreeMAN: A free, cross-platform file manager for power users.
    • Fluent Terminal: A terminal emulator based on UWP and web technologies.
    • Hyper: A terminal built on web technologies.
    • Diag: A better way to troubleshoot problems faster. Capture, share and reapply troubleshooting knowledge so you can focus on solving problems that matter.
    • GoTTY: A simple command line tool that shares your terminal as a web application based on xterm.js.
    • genact: A nonsense activity generator.
    • cPanel & WHM: The hosting platform of choice.
    • Nutanix: Nutanix Enterprise Cloud uses xterm in the webssh functionality within Nutanix Calm, and is also looking to move our old noserial (termjs) functionality to xterm.js.
    • SSH Web Client: SSH Web Client with PHP.
    • Juno: A flexible Julia IDE, based on Atom.
    • webssh: Web based ssh client.
    • info-beamer hosted: Uses xterm.js to manage digital signage devices from the web dashboard.
    • Jumpserver: Jumpserver Luna project, Jumpserver is a bastion server project, Luna use xterm.js for web terminal emulation.
    • LxdMosaic: Uses xterm.js to give terminal access to containers through LXD
    • CodeInterview.io: A coding interview platform in 25+ languages and many web frameworks. Uses xterm.js to provide shell access.
    • Bastillion: Bastillion is an open-source web-based SSH console that centrally manages administrative access to systems.
    • PHP App Server: Create lightweight, installable almost-native applications for desktop OSes. ExecTerminal (nicely wraps the xterm.js Terminal), TerminalManager, and RunProcessSDK are self-contained, reusable ES5+ compliant Javascript components.
    • NgTerminal: NgTerminal is a web terminal that leverages xterm.js on Angular 7+. You can easily add it into your application by adding <ng-terminal></ng-terminal> into your component.
    • tty-share: Extremely simple terminal sharing over the Internet.
    • Ten Hands: One place to run your command-line tasks.
    • WebAssembly.sh: A WebAssembly WASI browser terminal
    • Gus: A shared coding pad where you can run Python with xterm.js
    • Linode: Linode uses xterm.js to provide users a web console for their Linode instances.
    • FluffOS: Active maintained LPMUD driver with websocket support.
    • x-terminal: Atom plugin for providing terminals inside your Atom workspace.
    • CoCalc: Lots of free software pre-installed, to chat, collaborate, develop, program, publish, research, share, teach, in C++, HTML, Julia, Jupyter, LaTeX, Markdown, Python, R, SageMath, Scala, ...
    • Dank Domain: Open source multiuser medieval game supporting old & new terminal emulation.
    • DockerStacks: Local LAMP/LEMP development studio
    • Codecademy: Uses xterm.js in its courses on Bash.
    • Laravel Ssh Web Client: Laravel server inventory with ssh web client to connect at server using xterm.js
    • Replit: Collaborative browser based IDE with support for 50+ different languages.
    • TeleType: cli tool that allows you to share your terminal online conveniently. Show off mad cli-fu, help a colleague, teach, or troubleshoot.
    • Intervue: Pair programming for interviews. Multiple programming languages are supported, with results displayed by xterm.js.
    • TRASA: Zero trust access to Web, SSH, RDP, and Database services.
    • Commas: Commas is a hackable terminal and command runner.
    • Devtron: Software Delivery Workflow For Kubernetes.
    • NxShell: An easy to use new terminal for SSH.
    • gifcast: Converts an asciinema cast to an animated GIF.
    • WizardWebssh: A terminal with Pyqt5 Widget for embedding, which can be used as an ssh client to connect to your ssh servers. It is written in Python, based on tornado, paramiko, and xterm.js.
    • Wizard Assistant: Wizard Assistant comes with advanced automation tools, preloaded common and special time-saving commands, and a built-in SSH terminal. Now you can remotely administer, troubleshoot, and analyze any system with ease.
    • ucli: Command Line for everyone :family_man_woman_girl_boy: at www.ucli.tech.
    • Tess: Simple Terminal Fully Customizable for Everyone. Discover more at tessapp.dev
    • HashiCorp Nomad: A container orchestrator with the ability to connect to remote tasks via a web interface using websockets and xterm.js.
    • TermPair: View and control terminals from your browser with end-to-end encryption
    • gdbgui: Browser-based frontend to gdb (gnu debugger)
    • goormIDE: Run almost every programming languages with real-time collaboration, live pair programming, and built-in messenger.
    • FleetDeck: Remote desktop & virtual terminal
    • OpenSumi: A framework helps you quickly build Cloud or Desktop IDE products.
    • KubeSail: The Self-Hosting Company - uses xterm to allow users to exec into kubernetes pods and build github apps
    • WiTTY: Web-based interactive terminal emulator that allows users to easily record, share, and replay console sessions.
    • libv86 Terminal Forwarding: Peer-to-peer SSH for the web, using WebRTC via Bugout for data transfer and v86 for web-based virtualization.
    • hack.courses: Interactive Linux and command-line classes using xterm.js to expose a real terminal available for everyone.
    • Render: Platform-as-a-service for your apps, websites, and databases using xterm.js to provide a command prompt for user containers and for streaming build and runtime logs.
    • CloudTTY: A Friendly Kubernetes CloudShell (Web Terminal).
    • Go SSH Web Client: A simple SSH web client using Go, WebSocket and Xterm.js.
    • web3os: A decentralized operating system for the next web
    • Cratecode: Learn to program for free through interactive online lessons. Cratecode uses xterm.js to give users access to their own Linux environment.
    • Super Terminal: It is a http based terminal for developers who dont like repetition and save time.
    • graSSHopper: A simple SSH client with file explorer, history and many more features.
    • DomTerm: Tiles and tabs. Detachable sessions (like tmux). Remote connections using a nice ssh wrapper with predictive echo. Qt, Electron, Tauri/Wry, or desktop browser front-ends. Choose between xterm.js engine (faster) or native DomTerm (more functionality and graphics) - or both.
    • Cloudtutor.io: innovative online learning platform that offers users access to an interactive lab.
    • Helix Editor Playground: Online playground for the terminal based helix editor.
    • Coder: Self-Hosted Remote Development Environments
    • Wave Terminal: An open-source, ai-native, terminal built for seamless workflows.
    • eva: Eva is a web application for SSH remote login, developed in Go.
    • OpenSFTP: Super beautiful SSH and SFTP integrated workspace client.
    • balena: Balena is a full-stack solution for developing, deploying, updating, and troubleshooting IoT Edge devices. We use xterm.js to manage & debug devices on balenaCloud.
    • Filet Cloud: The lean and powerful personal cloud ⛅.
    • pyTermTk: Python Terminal Toolkit - a Spiced Up Cross Compatible TUI Library 🌶️, use xterm.js for the HTML5 exporter.
    • ecmaOS: A kernel and suite of applications tying modern web technologies into a browser-based operating system.
    • LabEx: Interactive learning platform with hands-on labs and xterm.js-based online terminals, focused on learn-by-doing approach.
    • EmuDevz: A free coding game where players learn how to build an emulator from scratch.
    • SSH Connection Manager: Modern web-based SSH terminal and SFTP manager with AES-256 encryption, PWA support, and session management.
    • WooTTY: Flawless browser terminal for real operators.
    • Orca: Agentic development environment for 100x builders.
    • 4bit: Terminal Color Scheme Designer.
    • Cate: Open source desktop IDE on an infinite zoomable canvas. Editor, browser, and terminal panels float in spatial space; the terminals are xterm.js with the WebGL addon, backed by node-pty.
    • OmnyShell PWA: Web client for OmnyShell, featuring remote terminals, a built-in IDE, AI-assisted workflows, and detachable/resumable sessions for seamless browser-based access to nodes.
    • kmux: A keyboard-centric terminal workspace for running parallel AI coding agents side by side on macOS and Linux.
    • LynxHub: Cross-platform, extensible terminal and browser for AI management.
    • Codeman: Self-hosted mission control for AI coding agents, streaming live tmux sessions to browser and phone.
    • JSVIsion: A Turbo Vision-Style TUI SDK for TypeScript. We use xterm.js in our docs to show live JSVision examples running in a web terminal.
    • BitFun: Open-source desktop AI agent whose integrated terminals and read-only terminal output views use xterm.js with the Fit, Web Links, and WebGL addons.
    • Naqsh: Small, borderless macOS terminal built on Tauri and xterm.js, with tabs, split panes, a command palette and a drop-down quick terminal.
    • And much more...

    Do you use xterm.js in your application as well? Please open a Pull Request to include it here. We would love to have it on our list. Please add any new contributions to the end of the list.

    License Agreement

    If you contribute code to this project, you implicitly allow your code to be distributed under the MIT license. You are also implicitly verifying that all code is your original work.

    Copyright (c) 2017-2026, The xterm.js authors (MIT License) Copyright (c) 2014-2017, SourceLair, Private Company (www.sourcelair.com) (MIT License) Copyright (c) 2012-2013, Christopher Jeffrey (MIT License)