How I Use tmux In Local WordPress Development

In this video, I'm showing you how I use the tool tmux in my local WordPress development setup. If you're using the terminal in your local development workflows, this tool can be a real game changer.

Tmux is a "terminal multiplexer", allowing you to keep multiple instances of a terminal running at the same time. It is incredibly useful as it lets you keep SSH sessions and Docker connections running even if you close the terminal.

Tmux sessions are persistent, which means they keep running even if you get disconnected or close your terminal. So if you invoke commands that take a long time to run, like "apt-get update" for example, you can rely on that command being executed even if you close the terminal session you invoked it from.

I won't go into the details of installing tmux in this article, because there is a fantastic article on Linuxize about that already.

Instead, I want to use this opportunity to showcase a few of the use-cases I have for tmux:

With those examples in mind, there is obviously a lot more you can do with tmux.

My best recommendation is that you simply try it and get your hands on it. It is quite an abstract concept at first, but once you get a feeling for tmux and experience the benefits, it'll become a staple tool in your toolbox.

To make things easier, read through the Linuxize article I linked above and keep a tmux cheat sheet on reference.


Share this post with your friends & followers:

Hey, I'm Jan!

I run KCONSULT and publish the AI Marketing Minute to help busy business owners use AI to accelerate growth. It's great to have you here!

Master AI-Powered Content Marketing And Create Content In A Fraction Of The Time

Learn the basics of AI marketing in B2B, even if you're not tech-savvy and never used ChatGPT. 

Get proven prompts that create engaging content and help you fight writer's block. The AI Marketing Minute comes out every Monday.
    envelope linkedin facebook pinterest youtube rss twitter instagram facebook-blank rss-blank linkedin-blank pinterest youtube twitter instagram