r/PowerShell • • Feb 10 '26

PSMUX: Native tmux for PowerShell — split panes, sessions, detach/attach — no WSL needed

For anyone who's wanted tmux functionality in PowerShell without installing WSL:

psmux is a native Windows terminal multiplexer that works exactly like tmux. Same commands, same keybindings, zero learning curve if you already know tmux.

Why this exists:

  • Needed tmux-style session management on Windows servers
  • Didn't want WSL overhead just for terminal multiplexing
  • Wanted to SSH into Windows boxes and still have pane splitting

Quick install:

winget install psmux

or

cargo install psmux

Or: scoop install psmux | choco install psmux

What you get:

  • Ctrl+b % — split horizontal | Ctrl+b " — split vertical
  • Ctrl+b d — detach session | psmux attach — reattach
  • psmux ls — list sessions
  • psmux new-session -s work — named sessions
  • Mouse support for pane resizing
  • Copy mode with vim keybindings
  • Scriptable (send-keys, capture-pane, etc.)

The tmux command alias is included, so your muscle memory works.

Just⭐the repo if you like it and feel free to raise any issues

Repo: https://github.com/psmux/psmux

Developed and actively maintained with LOTs of ❤️ for Powershell

Anyone using terminal multiplexing on Windows? What's your current setup?

24 Upvotes

61 comments sorted by

View all comments

Show parent comment

1

u/Sirios_ Aug 21 '26

oh sure, right. Now I'm going to go connect to WT via SSH (sarcasm) 🤦. Saying that WT is already there is like saying that you already have shoes on and don't need socks.

1

u/dodexahedron Aug 22 '26

WT is already there on every supported windows desktop release out there right now. WS2022, yeah, you need to install it manually. But only if you're literally using WT on that server - which you're not unless you're already in an rdp session to it.

WT is not what you connect to via ssh. It is a terminal emulator - not a shell. You can't ssh to wt. It is client-side. You also can't ssh to tmux (except as a login shell, in which case the comparison switches to powershell instead - and novody uses tmux as their login shell).

You ssh to the ssh server, which invokes whatever shell is default for the user or whatever subsystem it is told to invoke on connect (a well-documented one-liner to add pwsh to it if you don't have it in there already, such as on a Linux system).

WT is windows' answer to konsole, gnome terminal, etc.. PowerShell has the "server" features that tmux/screen are often used for. Enter-pssession is similar to tmux attach-session - just on a per-pane basis, because the UI layout layer is in WT itself already.
Or you can use runspaces to have multiple powershell runspaces in the same powershell session, which is like a more advanced form of bash job control (ps also has jobs, for a simpler and more bash-like job system).

Regardless...
Any argument that consists of a sarcastic "oh right like I'll connect to/install/etc [First party solution that is probably already present anyway on the workstation you're sitting at]" when the implied alternative is that you'll install a third-party solution instead is a pretty self-contradictory argument.

This is not about tmux. It is about a thing that replicates its behavior locally - which WT and PS already do just fine.

0

u/Sirios_ Aug 22 '26
  1. Interesting, but who’s ever even talked about Windows Server?
  2. Nooo, don’t tell me 😱 (Sarcasm) How unexpected, it almost seems like my comment was meant to be sarcastic. Are you sure your comments aren’t the AI Slop? Because a response like that to sarcasm, or at least what seems like sarcasm (and not because it’s AI, but because it’s a nonsensical response)
  3. Don’t tell me 😱 (sarcasm again), (it’s not rocket science to change a registry value using a one liner 😂)
  4. Don’t tell m..., okay, no, that’s not funny anymore. Yeah, it’s a graphical app, thanks a lot (sorry sarcasm again), that’s the whole point of the sarcasm. Besides that, it seems pretty obvious to me that session based connections aren’t the main feature of tmhx. You know how it is with tmux and, consequently, psmux, as their names suggest, they’re primarily designed to multiplex the terminal, not just to have detachable sessions
  5. It doesn’t seem like an argument, because it isn’t, as you can tell from the parentheses labeled “sarcasm.”
  6. Who cares about WT? If I connect via SSH to my Windows workstation, I don’t need WT at all. What am I supposed to do on Linux and Android? Open an SSH connection for every separate instance of pwsh I need to have? 🤦😂