Skip to content

Running Commands in Multiple Panes with Windows Terminal

Published: at 03:07 PM

Ever needed to monitor different commands simultaneously? Windows Terminal makes it easy to split your terminal into multiple panes and run different commands in each one. Here’s how.

The Basic Command

wt -M pwsh -NoExit -c ls `; split-pane -H -s 0.66 pwsh -NoExit -c dir `; split-pane -H -s 0.5

Let’s break this down:

The backticks (`) before semicolons are necessary in PowerShell to escape the command separators.

Customizing The Layout

You can adjust the splits by modifying the -s values:

Practical Uses

This setup is particularly useful for:

Try it out and customize the commands to fit your workflow!


Previous Post
Running Commands in Multiple Panes with tmux
Next Post
First Post