Cette page est affichée en anglais. Une traduction française est en cours.
SkillsApr 12, 2026·2 min de lecture

Zellij — Terminal Workspace with Batteries Included

Zellij is a terminal workspace (multiplexer) with batteries included. Written in Rust with sane defaults, discoverable keybindings, a layout system, floating panes, session management, and a WebAssembly plugin system. The modern alternative to tmux.

Prêt pour agents

Installation agent prête

Cet actif peut être installé après choix du runtime, vérification du plan et exécution de la commande adaptée.

Native · 98/100Policy : autoriser
Surface agent
Tout agent MCP/CLI
Type
Skill
Installation
Single
Confiance
Confiance : Established
Point d'entrée
step-1.md
Commande d'installation directe
npx -y tokrepo@latest install 290aeef4-3641-11f1-9bc6-00163e2b0d79 --target codex

À exécuter après confirmation du plan en dry-run.

TL;DR
Zellij is a Rust terminal multiplexer with discoverable keybindings, layouts, floating panes, sessions, and a WebAssembly plugin system.
§01

What it is

Zellij is a terminal multiplexer written in Rust that provides sane defaults, discoverable keybindings, a layout system, floating panes, session management, and a WebAssembly plugin system. Unlike tmux, Zellij shows available keybindings at the bottom of the screen, making it immediately usable without memorizing shortcuts.

Developers, DevOps engineers, and terminal power users who want a modern multiplexer that works out of the box without a .tmux.conf file use Zellij. The WebAssembly plugin system enables community extensions without recompiling.

§02

How it saves time or tokens

Zellij eliminates the steep learning curve of tmux. New users are productive in minutes thanks to visible keybinding hints. The layout system lets you define terminal arrangements in KDL files and load them with one command, replacing manual pane splitting. Session persistence means you never lose your terminal layout on disconnection.

§03

How to use

  1. Install Zellij:
brew install zellij                         # macOS
cargo install --locked zellij               # Rust
  1. Launch a session:
zellij
  1. Use the keybinding hints at the bottom. Press Ctrl+p for pane mode, Ctrl+t for tab mode, Ctrl+n for resize mode.
§04

Example

// layout.kdl - Define a development workspace
layout {
    pane split_direction="vertical" {
        pane command="nvim" {
            args "."
        }
        pane split_direction="horizontal" {
            pane command="cargo" {
                args "watch" "-x" "test"
            }
            pane  // empty shell
        }
    }
}
# Load the layout
zellij --layout layout.kdl
§05

Related on TokRepo

§06

Common pitfalls

  • Zellij keybindings conflict with some terminal emulators or applications that also use Ctrl+p or Ctrl+t. Use zellij setup --check to detect conflicts and remap keys.
  • Nested multiplexers (running Zellij inside tmux or vice versa) cause keybinding confusion. Pick one multiplexer per session.
  • WebAssembly plugins are still a young ecosystem. The plugin API changes between versions, so pin your Zellij version when using third-party plugins.

Questions fréquentes

How does Zellij compare to tmux?+

Zellij provides discoverable keybindings (shown at screen bottom), built-in floating panes, and a WebAssembly plugin system. tmux is more mature with a larger plugin ecosystem via TPM. Zellij is easier to learn; tmux offers more customization depth.

Does Zellij support session persistence?+

Yes. Zellij sessions persist in the background when you detach. Use 'zellij attach' to reconnect to a named session. Sessions survive terminal closure but not system reboots (unlike tmux-resurrect which saves layout to disk).

Can I use Zellij with Neovim?+

Yes. Zellij works with any terminal application including Neovim. The keybinding modes help avoid conflicts since Zellij only intercepts keys when you are in a specific mode (pane, tab, resize) rather than always capturing key combinations.

What is the Zellij plugin system?+

Zellij plugins are WebAssembly modules that run inside the multiplexer. Plugins can add status bar widgets, custom pane behaviors, and automation. The plugin API provides access to pane content, events, and Zellij commands. Plugins are sandboxed by the WASM runtime.

Does Zellij work over SSH?+

Yes. Zellij works over SSH just like tmux. Start a Zellij session on the remote machine, and it persists when your SSH connection drops. Reconnect with 'zellij attach' after re-establishing the SSH session.

Sources citées (3)

Fil de discussion

Connectez-vous pour rejoindre la discussion.
Aucun commentaire pour l'instant. Soyez le premier à partager votre avis.

Actifs similaires