Tmux a terminal multiplexer
Tmux is a terminal multiplexer, it allows you to have multiple processes open in multiple window panes on your server.
All the window panes can be manged from one terminal. Servers don't have fancy multi tab terminals so yeah this is the answer.
The processes will run in the background on a tmux server. The process and windows will remain open and running even when you log out of your SSH session.
You can use it on your localhost machine as well to have multiple window panes running any process, like
npm run watch,
npm run start or what ever your heart desires.
Here I have four panes opens and I can move between each pane by pressing
The leader key is
Ctrl plus 'b' and some "other key".
Do not use snap it's outdated, the latest version lives on apt.
In the terminal enter:
This will start a tmux server and session with one window pane.
For horizontal window split:
For vertical window split:
Resize window: Press and keep pressing
Ctrl+b while tapping
Down repeatedly this will increase/decrease window size in which ever direction you have chosen.
List all the commands
Deep dive the docs here
That's it have fun with it.
Stay up to date
Consider keeping up to date with software development and design by signing up to my newsletter.I will only email you when I make a new post.