Linux – Windows 10 WSL (bash) and mintty

bashwindows 10windows-10-v1607windows-subsystem-for-linux

I just installed the new Linux subsystem in Windows 10. It's really nice to have access to the Ubuntu repositories, but I absolutely HATE the default terminal program. Cygwin comes with MinTTY which is really nice and works very well, but I can't find a standalone package for MinTTY. Is there a way to make MinTTY as a default terminal for WSL, when launching whatever shortcut?

Edit: to be clear, I DON'T want to install Cygwin. I want to use the new Linux subsystem and its bash shell, but I want to use mintty as my terminal.

Best Answer

The mintty developer has just released an installer that will set it all up for you with no external dependencies (it includes cygwin dll, the console helper and wslbridge):

Download, install and you're done.

If you want to run a different shell than Bash, just change the shortcut (in your startmenu). For example, to run ssh-agent per terminal with zsh:

%LOCALAPPDATA%\wsltty\bin\mintty.exe /bin/wslbridge -t /usr/bin/ssh-agent /bin/zsh -l