LinuxCommandLibrary

zellij

Create terminal multiplexer with panes and layouts

TLDR

Start a new named session

$ zellij --session [name]
copy

List existing sessions
$ zellij list-sessions
copy

Attach to the most recently used session
$ zellij attach
copy

Open a new pane (inside a zellij session)
$ <Alt n>
copy

Detach from the current session (inside a zellij session)
$ <Ctrl o><d>
copy

SYNOPSIS

zellij [OPTIONS] [COMMAND]

PARAMETERS

-h, --help
    Prints help information.

-v, --version
    Prints version information.

-c, --config
    Path to the configuration file.

-l, --layout
    Path to a layout file to load on startup.

-s, --session
    The name of the session to create or connect to. If none is specified, a new session will be created.

-o, --options
    Override a configuration option for this session.

COMMAND
    start | attach | kill-session | list-sessions | rename-session | setup | --complete

DESCRIPTION

Zellij is a terminal workspace and multiplexer. It allows users to create, manage, and share terminal sessions with multiple panes arranged within tabs. Think of it like a more feature-rich and modern alternative to tmux or screen. Zellij is written in Rust and emphasizes speed, security, and a user-friendly experience. It supports custom layouts, plugins, and a variety of configurations to tailor the terminal environment to individual needs.
Users can easily split the terminal into multiple panes, switch between tabs, and customize the appearance and behavior of Zellij through a configuration file. It also offers features like session sharing and integration with other tools.
Zellij is often favored for its focus on a smooth user experience and extensive customizability for developers, sysadmins and other command line users.

KEYBINDINGS

Zellij uses a modal keybinding system where different modes have different keybindings.
The default keybinding prefix is Ctrl+p. Common actions include creating panes, switching between panes, and managing tabs.

LAYOUTS

Zellij uses layout files to define the arrangement of panes and tabs. These files are written in a simple, declarative format, making it easy to create custom layouts tailored to specific workflows.

PLUGINS

Zellij supports plugins written in Rust, allowing users to extend the functionality of the terminal workspace. Plugins can add new features, integrations, and customizations to Zellij.

SEE ALSO

tmux(1), screen(1)

Copied to clipboard