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.

 

Subscribe To My Weekly Newsletter

Get curated content on scaling WP agencies, wordPress Development, and more.

Liked this article? Please share it around!
Share on facebook
Facebook
Share on google
Google+
Share on twitter
Twitter
Share on linkedin
LinkedIn
Share on email
Email
More Content To Explore

Discover How Continuous Integration Saves Me 4-8h weekly.

Download this free PDF document to discover 5 benefits Continuous Integration can bring to your WP agency or freelance business.

Do NOT follow this link or you will be banned from the site!
small_c_popup.png

Receive weekly curated content for WP Agencies & Developers.

Scale Your WordPress Agency Without Drowning in Projects.

small_c_popup.png

Download your free Continuous Integration guide

5 reasons you should use automated deployments