DEV Community

Cover image for Switching from tmux to Zellij
Fayaz
Fayaz Subscriber

Posted on • Originally published at fayazdev.tumblr.com

4 1 1 1

Switching from tmux to Zellij

Terminal Multiplexer

If you've used terminal multiplexer in command line, you know tmux is cool! If you haven't, you really should use something like tmux, especially if you SSH into remote servers often!

Why?

Tell me: what do you do, if suddenly your SSH connection is dropped while you're in the middle of an important installation or update process that needs your input?

That terminal session is lost and you cannot easily (if at all) get back to that installation process!

This may make your system a half cooked mess! A terminal multiplexer is what you need to solve this exact issue.

Let's just say: it'll save the day, by letting you log back into the session at the exact point you were dropped off from!

Save the day

The switch

Tmux is not just a terminal multiplexer though, it's a lot more than that. But this post is not about tmux. It's about me switching from tmux to Zellij. Why? Because Zellij is just better, and with a lot more batteries included.

I was keeping an eye on Zellij for some time now, but didn't get enough time to switch. But today was that day. So here I come Zellij!

P.S. you don't need to learn tmux to start using Zellij. So if you've never used tmux, just start with Zellij right away. Here are some tutorials.

Installation

As it happened, Zellij cannot be directly installed on the OS I'm using: Ubuntu. Also, this is a new laptop I'm setting up, so I needed to take a few steps to install Zellij. So may be this post will be useful to someone!

# install build essentials on Ubuntu
sudo apt update
sudo apt install build-essential

# Install rust / cargo
curl https://sh.rustup.rs -sSf | sh

# install zellij using cargo
cargo install --locked zellij

# That's it - now run Zellij!
zellij
Enter fullscreen mode Exit fullscreen mode

Further info

Here's a useful video walk through with Zellij:

That's it! Happy CLI mastery with Zellij, Oh My zsh and Alacritty!

Command line mastery

Neon image

Build better on Postgres with AI-Assisted Development Practices

Compare top AI coding tools like Cursor and Windsurf with Neon's database integration. Generate synthetic data and manage databases with natural language.

Read more →

Top comments (0)

Sentry image

Make it make sense

Only the context you need to fix your broken code with Sentry.

Start debugging →

👋 Kindness is contagious

Dive into this insightful write-up, celebrated within the collaborative DEV Community. Developers at any stage are invited to contribute and elevate our shared skills.

A simple "thank you" can boost someone’s spirits—leave your kudos in the comments!

On DEV, exchanging ideas fuels progress and deepens our connections. If this post helped you, a brief note of thanks goes a long way.

Okay