-
-
Notifications
You must be signed in to change notification settings - Fork 894
Compile on Windows
Shuanglei Tao edited this page Oct 18, 2022
·
8 revisions
UPDATE: The ConPTY support was added on master now, you can download a precompiled binary for win10 (1809 or later) from the recent release page. For windows version under win10 1809, you can still use the instructions bellow to build ttyd with MSYS2.
ttyd can be built with MSYS2 on windows. The build instructions is removed from the master branch, please refer to the old release: https://github.com/tsl0922/ttyd/tree/1.5.2/msys2.
NOTE: Native windows console programs may not work correctly due to pty incompatibility issues. As a workaround, you can use winpty as a wrapper to invoke the windows program, eg:
ttyd winpty cmd
.
Eventually, ttyd will support the native ConPTY API on windows 10 (#101).