Close Menu
    Facebook LinkedIn YouTube WhatsApp X (Twitter) Pinterest
    Trending
    • This New Air Purifier Filter Can Remove Cannabis Smoke Odor, Just in Time for 4/20
    • Portable water filter provides safe drinking water from any source
    • MAGA Is Increasingly Convinced the Trump Assassination Attempt Was Staged
    • NCAA seeks faster trial over DraftKings disputed March Madness branding case
    • AI Trusted Less Than Social Media and Airlines, With Grok Placing Last, Survey Says
    • Extragalactic Archaeology tells the ‘life story’ of a whole galaxy
    • Swedish semiconductor startup AlixLabs closes €15 million Series A to scale atomic-level etching technology
    • Republican Mutiny Sinks Trump’s Push to Extend Warrantless Surveillance
    Facebook LinkedIn WhatsApp
    Times FeaturedTimes Featured
    Saturday, April 18
    • Home
    • Founders
    • Startups
    • Technology
    • Profiles
    • Entrepreneurs
    • Leaders
    • Students
    • VC Funds
    • More
      • AI
      • Robotics
      • Industries
      • Global
    Times FeaturedTimes Featured
    Home»Artificial Intelligence»A beginner’s guide to Tmux: a multitasking superpower for your terminal
    Artificial Intelligence

    A beginner’s guide to Tmux: a multitasking superpower for your terminal

    Editor Times FeaturedBy Editor Times FeaturedFebruary 15, 2026No Comments12 Mins Read
    Facebook Twitter Pinterest Telegram LinkedIn Tumblr WhatsApp Email
    Share
    Facebook Twitter LinkedIn Pinterest Telegram Email WhatsApp Copy Link


    of the brand new issues I’ve come throughout lately, whereas researching command-line-based coding assistants, is the point out and use of a instrument I hadn’t heard of earlier than. That instrument known as Tmux, which stands for Terminal Multiplexer. 

    Within the easiest doable phrases, Tmux permits you to break up up a single terminal window into a variety of separate home windows and panes, every of which is a terminal in its personal proper. Adoption of instruments like Tmux has surged, largely because of the agent group workflows present in command-line coding agent merchandise like Claude Code. I point out Claude Code right here, however all of its principal rivals, reminiscent of Google’s Gemini CLI and OpenAI’s Codex, both have already got or shall be engaged on their very own equivalents.

    The purpose is that, in instruments like Claude Code, when it creates a number of brokers to hold out work, it may well assign every agent to its personal window pane. These visible clues make it a lot, a lot simpler ( for people) to maintain monitor of what’s going on as your agentic workloads progress. 
    Claude Code will spin up as many separate terminal window panes as wanted, assign every agent a pane, and routinely shut every pane because the agent completes its work. And in lots of instances, it’s utilizing Tmux for this terminal administration.

    Because it’s possible that increasingly more workloads sooner or later shall be carried out with a number of brokers, you’ll in all probability see and use Tmux extra usually. So, I feel it is sensible to study a bit extra about what Tmux is and what it may well do outdoors of simply coding platforms. For the remainder of this text, I’ll clarify methods to obtain Tmux and present some typical operations you are able to do with it. I’m solely going to cowl a very powerful ideas and can add a hyperlink to the Tmux GitHub house web page on the finish so you possibly can dive deeper if you need.

    Observe: apart from being a person of them, I’ve no affiliation or affiliation with any of the merchandise or corporations talked about on this article

    Tmux Licensing

    Tmux is open supply and fully free to make use of. Every supply code file within the repo has the next licence connected.

    Permission to make use of, copy, modify, and distribute this software program for any goal with or with out payment is hereby granted, supplied that the above copyright discover and this permission discover seem in all copies.

    THE SOFTWARE IS PROVIDED “AS IS” AND THE AUTHOR DISCLAIMS ALL WARRANTIES
    WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
    MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
    ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF MIND, USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

    Putting in Tmux

    Relying in your working system, you possibly can set up Tmux in one of many methods under.

    macOS The best solution to set up tmux on macOS is through Homebrew. Open your terminal and run:

    brew set up tmux

    Ubuntu / Debian / Linux Mint
    On Debian-based distributions, use the apt bundle supervisor:

    sudo apt replace
    sudo apt set up tmux

    Fedora / CentOS / RHEL
    For distributions utilizing dnf or yum:

    sudo dnf set up tmux

    Home windows
    I’m a Home windows person, however sadly, Home windows doesn’t assist Tmux natively however you can run it by means of the Home windows Subsystem for Linux (WSL). To try this,

    • Set up a WSL Linux distribution (like Ubuntu) from the Microsoft Retailer.
    • Open the WSL terminal.
    • Use the Ubuntu command: sudo apt set up tmux.

    Key Tmux phrases it’s best to perceive

    These are the foundational concepts of tmux, and nearly all the things else builds on them.

    • Periods. Persistent workspaces that survive disconnects. You possibly can detach and reattach later.
    • Home windows: These are your digital desktops. You might need one window devoted to “Coding” and one other for debugging.
    • Panes. Sub-windows inside a window. They are often oriented both vertically or horizontally. Every pane is a mini command-line terminal in its personal proper.

    One of many key benefits of Tmux is that you may connect and detach classes. If you detach a session, no matter it’s operating will stay operating within the background, and once you re-attach to the session, you’ll see the up to date state of regardless of the session was already doing. 

    Verifying your Set up

    As soon as the set up is full, you possibly can confirm that it’s working by checking the model:

    $ tmux -V
    
    tmux 3.2a

    Beginning a Tmux session

    The “hiya world” of utilizing Tmux is solely beginning a session.

    $ tmux

    Nothing a lot will change, however you’ll discover a inexperienced standing bar seem on the backside of your terminal window, indicating that you’re now inside a tmux session. You possibly can kind in common working system instructions from right here. For instance checklist all my directories,

    Picture by Creator

    Inside a Tmux window or pane, you possibly can checklist all of your classes utilizing the command:

    $ tmux ls
    
    0: 3 home windows (created Tue Feb 10 18:22:12 2026)
    2: 1 home windows (created Tue Feb 10 19:11:12 2026)
    3: 1 home windows (created Wed Feb 11 10:42:16 2026) (connected)
    session2: 2 home windows (created Tue Feb 10 18:29:23 2026)

    To kill classes, kind one of many following,

    # To kill a selected session:
    $ tmux kill-session -t [session_name_or_number]
    
    # Or ... to kill EVERY session (The "Nuke" choice):
    $ tmux kill-server

    Executing Tmux built-in instructions

    Tmux depends on a “prefix” key mixture to execute its built-in instructions. By default, that is Ctrl + b, adopted often by a single character. Listed below are some examples of widespread instructions you’ll use usually.

    Motion                     Command
    -------                    -------------------------
    Cut up display screen vertically    Ctrl + b then %
    Cut up display screen horizontally  Ctrl + b then """
    Transfer to a different pane       Ctrl + b then Arrow Keys
    Kill present window        Ctrl+b then &
    Exit tmux                  Ctrl + then d

    Instance 1 – Creating new panes

    So, having began a Tmux session as above, attempt typing Ctrl+b adopted by the per cent character (%) to separate your authentic window vertically into two panes. It is best to see one thing like this.

    Now kind Ctrl+b adopted by the double quote (“) character, and it’s best to see that the brand new pane has now been break up horizontally like this,

    Observe that the “identify” of your present window is all the time displayed within the standing bar on the backside of the display screen. By default, these are merely numbered sequentially ranging from 0, however you possibly can rename them if you need.

    To shut down the energetic pane, kind the command Ctrl+b adopted by the x character. On the standing bar, you’ll see a immediate asking you to substantiate the operation.

    Instance 2 – Creating new Home windows

    To create a brand new window, kind Ctrl+b adopted by the character c. The brand new window will overlay and obscure any present Tmux home windows you may have displayed. However have a look at the standing bar, and you will note it shows all of your window names. To modify between totally different home windows, use the keyboard shortcut Ctrl+b adopted by the n (or p) character to go to the following (or earlier) window. You can even change to a selected window quantity by typing its quantity in as a substitute of n (or p)

    To shut down a window, kind the Ctrl+b command adopted by the ampersand (&) character. The standing bar will show a immediate asking you to substantiate the operation.

    Instance 3 – Shifting between panes and enabling the mouse

    Okay, you created a bunch of panes inside a window. Say you could transfer between them. By the way, observe that your present pane is bordered in inexperienced, so that you all the time know which one has focus. 

    There are two methods to do that. By way of the keyboard, you possibly can kind Ctrl+b adopted by an acceptable arrow key. Observe that you could key on this sequence each time you need to transfer panes.

    Utilizing the keyboard like this on a regular basis to maneuver round can turn out to be tiresome, however there’s a means to make use of the mouse as a substitute. To allow the mouse, you possibly can kind Ctrl+b adopted by the colon (:) character. The underside bar of your display screen ought to flip a special color, and also you’ll see a colon immediate. Sort within the following,

    : set -g mouse on

    After that, it’s best to be capable to change between panes together with your mouse simply by left-clicking on them. When you’ve got a number of home windows open, you too can transfer between them by left-clicking on the suitable window identify in your standing bar.

    Instance 4 – The Tmux configuration file

    The way in which we arrange the mouse within the earlier instance was executed on a per-session foundation. This implies after we shut down Tmux and re-open it, the mouse setting shall be gone. To keep away from having to arrange issues like this each time you begin Tmux, you possibly can put them in a configuration file in your own home listing referred to as .tmux.conf. Like this,

    echo "set -g mouse on" > ~/.ftmux.conf

    To use the change instantly with out restarting Tmux, run this inside a Tmux terminal: 

    Ctrl + b then : then kind source-file ~/.tmux.conf.

    In any other case, the following time Tmux begins, it routinely seems on your configuration file and makes use of it if current.

    There’s a bunch of different settings you possibly can put in your configuration file, so I recommend you examine the Tmux doc hyperlink on the finish for a full checklist.

    Instance 5- Detaching a session

    That is the superpower of Tmux, however there’s not so much to it actually. You can begin a course of (like an enormous obtain), “detach” from it, shut your terminal app, and it retains operating within the background, able to be displayed once you re-attach to it. To detach a session, kind Ctrl+b adopted by the character d. As soon as a session is indifferent, you re-attach by typing this into any common terminal command window:

    $ tmux connect

    Instance 6- Creating your personal Ctrl+b instructions

    To create customized Ctrl+b instructions, use the Tmux bind command. For instance, suppose you need to create a shortcut key sequence to allow mouse assist everytime you kind Ctrl+b adopted by the m character. Sort the next instructions in,

    # get to the command line on the standing bar first
    Ctrl+b :
    # Now map urgent Ctrl+b m to show the mouse ON
    bind m set -g mouse on ; show 'Mouse: ON'

    Once more, this might activate the mouse ON key mapping for the present session solely. To make it out there in each Tmux session, place the bind command within the .tmux.conf file.

    echo "bind m set -g mouse on ; show 'Mouse: ON'" >> .tmux.conf

    Instance 7- Miscellaneous suggestions

    • Resizing a pane. Assuming you may have the mouse enabled, to resize a pane, merely left-click on its border with one other pane and drag left-right or up-down as required. If the mouse shouldn’t be enabled, kind Ctrl+b, then maintain down the ALT key while urgent one of many arrow keys.
    • Getting assist. Show all Ctrl-b instructions by typing Ctrl+b adopted by the query mark (?) character. To exit this show, kind the c or ESC key
    • Zooming in. When you’ve got a number of panes open, urgent Ctrl+b adopted by the z character will make the present, energetic pane fill the entire window. Urgent the identical key mixture once more will restore issues to the way in which they have been.
    • The “The place Am I?” Flash. When you’ve got a display screen stuffed with panes and also you lose monitor of which is which, press Ctrl+b then q. Giant numbers will flash over each pane. Not solely does this present you the variety of every pane, however in the event you kind the quantity whereas it’s displayed, you’ll immediately soar to that pane and make it energetic.
    • Switching pane positions. To swap pane positions, click on Ctrl+b adopted by both an open or closed curly brace character ({}). This may alternate the situation of the energetic pane with one other pane within the window.

    Abstract

    I feel attending to know and utilizing a utility like Tmux is an efficient addition to have in your developer toolbox. That is strengthened by the truth that we’re beginning to see many code assistant instruments, reminiscent of Claude Code, actively utilizing instruments like Tmux to show the progress of multi-agent processes. As command-line agentic improvement workflows flourish, we’ll see extra of any such use case.

    This text has solely scratched the floor of what the Tmux utility is able to. Instruments like this may take appreciable time to turn out to be actually proficient with, however I feel it’s worthwhile to persevere. When you do, you may look again and surprise the way you coped with out it.

    To seek out out extra about Tmux, go to its GitHub web page on the following hyperlink:

    https://github.com/tmux/tmux



    Source link

    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email
    Editor Times Featured
    • Website

    Related Posts

    A Practical Guide to Memory for Autonomous LLM Agents

    April 17, 2026

    You Don’t Need Many Labels to Learn

    April 17, 2026

    Beyond Prompting: Using Agent Skills in Data Science

    April 17, 2026

    6 Things I Learned Building LLMs From Scratch That No Tutorial Teaches You

    April 17, 2026

    Introduction to Deep Evidential Regression for Uncertainty Quantification

    April 17, 2026

    memweave: Zero-Infra AI Agent Memory with Markdown and SQLite — No Vector Database Required

    April 17, 2026

    Comments are closed.

    Editors Picks

    This New Air Purifier Filter Can Remove Cannabis Smoke Odor, Just in Time for 4/20

    April 18, 2026

    Portable water filter provides safe drinking water from any source

    April 18, 2026

    MAGA Is Increasingly Convinced the Trump Assassination Attempt Was Staged

    April 18, 2026

    NCAA seeks faster trial over DraftKings disputed March Madness branding case

    April 18, 2026
    Categories
    • Founders
    • Startups
    • Technology
    • Profiles
    • Entrepreneurs
    • Leaders
    • Students
    • VC Funds
    About Us
    About Us

    Welcome to Times Featured, an AI-driven entrepreneurship growth engine that is transforming the future of work, bridging the digital divide and encouraging younger community inclusion in the 4th Industrial Revolution, and nurturing new market leaders.

    Empowering the growth of profiles, leaders, entrepreneurs businesses, and startups on international landscape.

    Asia-Middle East-Europe-North America-Australia-Africa

    Facebook LinkedIn WhatsApp
    Featured Picks

    Most Powerful Lightest eMTB Motor

    April 10, 2026

    Titanium iBasso DX340 portable hi-fi player upgrade

    February 26, 2026

    Move over, Starlink, there’s a new satellite-to-cell service in town

    January 16, 2025
    Categories
    • Founders
    • Startups
    • Technology
    • Profiles
    • Entrepreneurs
    • Leaders
    • Students
    • VC Funds
    Copyright © 2024 Timesfeatured.com IP Limited. All Rights.
    • Privacy Policy
    • Disclaimer
    • Terms and Conditions
    • About us
    • Contact us

    Type above and press Enter to search. Press Esc to cancel.