Terminal Multiplexer for Microsoft Windows - Installers for GNU Screen or tmux
WindowsLinuxGnu ScreenTmuxWindows Problem Overview
I am looking for a terminal multiplexer for Microsoft Windows. I was unable to locate the installers for Microsoft Windows for both tmux and GNU Screen.
Currently I'm using Putty to connect to my Linux machine from from Windows Machine. Can somebody please suggest how to get GNU Screen or tmux working on Windows Platform.
Are there any other good alternatives to above options.
Windows Solutions
Solution 1 - Windows
Look. This is way old, but on the off chance that someone from Google finds this, absolutely the best solution to this - (and it is AWESOME) - is to use http://conemu.github.io/">ConEmu</a> (or a package that includes and is built on top of ConEmu called https://cmder.net/">cmder</a>;) and then either use http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html>plink</a> or http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html">putty itself to connect to a specific machine, or, even better, set up a development environment as a local VM using http://www.vagrantup.com/">Vagrant</a>;.
This is the only way I can ever see myself developing from a Windows box again.
I am confident enough to say that every other answer - while not necessarily bad answers - offer garbage solutions compared to this.
Update: As Of 1/8/2020 not all other solutions are garbage - Windows Terminal is getting there and WSL exists.
Solution 2 - Windows
As of the Windows 10 "Anniversary" update (Version 1607), you can now run an Ubuntu subsystem from directly inside of Windows by enabling a feature called Developer mode.
To enable developer mode, go to Start > Settings then typing "Use developer features" in the search box to find the setting. On the left hand navigation, you will then see a tab titled For developers. From within this tab, you will see a radio box to enable Developer mode.
After developer mode is enabled, you will then be able to enable the Linux subsystem feature. To do so, go to Control Panel > Programs > Turn Windows features on or off > and check the box that says Windows Subsystem for Linux (Beta)
Now, rather than using Cygwin or a console emulator, you can run tmux through bash on the Ubuntu subsystem directly from Windows through the traditional apt package (sudo apt-get install tmux
).
Solution 3 - Windows
Both tmux and GNU Screen work under cygwin. They can be installed from the cygwin installer. Just search for their name there and you probably will get to the latest version (at least for tmux).
Solution 4 - Windows
You might be able to get what you want by using Console2 with Putty or Plink.
Solution 5 - Windows
One of alternatives is MSYS2 , in another words "MinGW-w64"/Git Bash. You can simply ssh to Unix machines and run most of linux commands from it. Also install tmux!
To install tmux in MSYS2:
run command pacman -S tmux
To run tmux on Git Bash:
install MSYS2 and copy tmux.exe
and msys-event-2-1-6.dll
from MSYS2 folder C:\msys64\usr\bin
to your Git Bash directory C:\Program Files\Git\usr\bin
.
Solution 6 - Windows
Adding to the thread, there's a new console in town called babun, im running tmux in it without a problem. lets you run bash or the zsh.
Solution 7 - Windows
As an alternative SuperPutty has tabs and the option to run the same command across many terminals... might be what someone is looking for.
https://code.google.com/p/superputty/
It imports your PuTTY sessions too.
Solution 8 - Windows
Here is dirty way:
- Log into a linux server using "ssh -X user@host"
- open rxvt-unicode or other X terminal.
- open tmux or screen
- Log back into your local computer from the server
- start your favourite shell such as msys or cygwin.
Solution 9 - Windows
It's possible to compile and use tmux within Cgywin. http://sourceforge.net/mailarchive/message.php?msg_id=30850840