Contour is a modern and fast terminal emulator designed to provide a seamless experience for power users with a focus on performance and advanced features. It supports multiple platforms, including Linux, macOS, Windows, FreeBSD, and OpenBSD, offering GPU-accelerated rendering and Unicode support for emojis, ligatures, and grapheme clusters.
Key Features:
Cross-platform availability with native builds for all major operating systems.
GPU-accelerated rendering for smooth performance.
Support for Unicode features, including emojis, ligatures, and grapheme clusters.
Modal input modes inspired by Vi-like workflows for improved text selection and navigation.
Truecolor support for vibrant terminal output.
Customizable profiles with options for color schemes, login shells, and behavior settings.
Audience & Benefit:
Ideal for developers, terminal enthusiasts, and power users who demand a fast, customizable, and feature-rich terminal experience. Contour enhances workflow efficiency by offering advanced customization, performance optimization, and modern terminal features in a single package.
Contour can be installed via winget, making it easy to set up on Windows systems.
README
Contour - a modern & actually fast Terminal Emulator
contour is a modern and actually fast, modal, virtual terminal emulator
for everyday use. It is aimed at power users with a modern feature mindset, and
it feels native on Windows 11, macOS and Linux.
Highlights
š Sessions that outlive the window. A background daemon
hosts your shells by default: close the window, lose the SSH link or reboot, and pick up where you left off ā locally, over SSH or over TLS.
šŖ Tabs, splits and drag-and-drop.Drag a pane or a tab anywhere:
beside another pane, into another tab, into another window ā the session inside keeps running.
šØ Colored tabs ā per layout, per profile (tab_color), or from the tab's context menu ā
with badges for unseen output, finished commands and programs that are waiting for you.
š§± Command blocks. An exit-status rail, folding, line numbers and timestamps, a sticky command header, step-through
keys, and a notification when a long command finishes in a tab you are not looking at (demo).
š„ļø Native chrome, light and dark. Mica and Snap Layouts on Windows 11, native menus on macOS, a header bar on Linux ā
or a character-cell Terminal style ā all following your OS theme, with a Settings window and a command palette.
ā” Fast. GPU-accelerated rendering, synchronized output, and a PTY-to-grid pipeline that is measured for key-press latency under load.
š¤ Text done right. Font ligatures, full Unicode with grapheme clusters, emoji (ZWJ, VS15, VS16), bold and italic, High-DPI,
and Nerd Fonts glyphs with any font you choose ā a symbols font is bundled.
š¼ļø Graphics. Sixel, the kitty graphics protocol (including animation) and ReGIS vector graphics.
šÆ Keyboard-driven. Vi-like input modes, hint mode for URLs, paths and git hashes,
clickable links in any output, a GUI find bar and a quick-terminal hotkey.
š¤ Scriptable. A control API and CLI to list, split, type into and read panes and command blocks,
an MCP server (contour mcp) that lets Claude Code, Codex and other coding agents drive their own tab,
sandboxed WebAssembly status-line extensions, and a tmux control-mode gateway in both directions.
Features
Windows, tabs and sessions
ā Available on all major platforms: Linux, macOS, FreeBSD, OpenBSD and Windows.
ā Persistent sessions (daemon mode) ā reattach locally or over the network, restore your workspaces after a reboot, and interoperate with tmux in both directions
ā Terminal tabs and split panes, with colored tabs, tab badges and drag-and-drop rearranging of panes and tabs
ā Layouts: named sets of tabs and panes, opened with one action
ā Saved remote hosts and a Connect picker that asks where a window's sessions should live
ā Quick terminal: a global hotkey slides a terminal down from the top of the screen
ā Profiles (grouped customization of: color scheme, login shell, and related behaviors)
Reading and navigating output
ā Command blocks, with shell integration for bash, zsh, fish, tcsh and PowerShell
ā Vertical Line Markers (quickly jump to markers in your history!)
ā Vi-like input modes for improved selection and copy'n'paste experience and Vi-like scrolloff feature.
ā Hint mode, and URLs, file paths and custom patterns made clickable in whatever a program prints
Additional packages can be found on the release page including:
ubuntu package
AppImage
static build
MacOS bundle
Windows installer and zipped app
Installing via Flatpak
Install from Flathub
Click the following button to install Contour from the Flathub store.
Prerequisites
Make sure you have flatpak installed in your system (here is a tutorial on how to install it), and make sure that the version is >= 0.10 (check it using this command: flatpak --version)
Add the flathub repository using the following command: flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo.
operating system: A recent operating system (macOS, Windows 10+, an up-to-date Linux, FreeBSD or OpenBSD)
GPU: driver must support at least OpenGL 3.3 hardware accelerated or as software rasterizer.
CPU: x86-64 AMD or Intel with AES-NI instruction set or ARMv8 with crypto extensions.
Configuration
Most settings live in the Settings window (Ctrl+Shift+,,
ā+, on macOS), which applies every change at once and previews it live.
Everything it edits is the configuration file contour.yml, which is initially generated in
$HOME/.config/contour (%LOCALAPPDATA%\contour on Windows) and can be edited by hand.
Some features also require shell integration. It can be installed from Settings, or generated
via the CLI (see below) for bash, zsh, fish, tcsh and PowerShell (pwsh); Nushell integrates natively.
Persistent sessions (daemon mode)
Contour hosts your sessions in a background daemon by default (daemon.mode: auto): a plain
contour starts one when none runs and shows its sessions in a thin client window. Close the
window and your shells keep going. A long build finishes, work done over SSH survives the link
dropping, and a rebooted machine restores its windows, tabs, splits and scrollback. The same
sessions can be reattached from another machine over SSH or an encrypted TLS connection.
contour # a window onto the daemon's sessions, starting it if need be
contour --daemon-mode in_process # keep this window's sessions in the window itself
contour connect # pick where a window's sessions live: this computer, a saved host, ssh://, tls://
contour daemon status # version, uptime, sessions and clients of the running daemon
The daemon runs as a managed user service (systemd, launchd or Task Scheduler), survives an
upgrade, and negotiates its protocol version with each client, so releases can be mixed. If it
cannot be reached, Contour falls back to running the window's shells itself and says so.
Contour also speaks tmux's control-mode protocol in both directions: tmux-aware tooling ā and the
stock tmux binary itself ā can attach to a Contour daemon, and contour client --tmux mirrors a
running tmux server into a Contour window, windows as tabs and panes as splits.
Every window, tab and pane has a stable ID, and the daemon serves a typed
control API that contour ls, new, split, send,
pane capture and block read script from the shell ā handy for tooling and coding agents alike.
Agents that speak MCP can use the same API through contour mcp (claude mcp add contour -- contour mcp).
Contour is best installed from supported package managers, but you can build
from source by following the instructions below.
UNIX-like systems (Linux, FreeBSD, OpenBSD, macOS)
Prerequisites
./scripts/install-deps.sh
This script might ask you for the administrator password if a package dependency
can be installed via the system package manager.
Compile
You can use cmake presets to compile contour. The full list of available presets can be seen using cmake --list-presets. To compile release build for linux clang-release or gcc-release, or appleclang-release on macOS accordingly. gcc-release, msvc-release and macos-package build as the packages are built (link-time optimization, so a slower link) and clang-release stays the fast developer build; -DCONTOUR_PRODUCTION_BUILD=ON turns the packages' flags on anywhere (see release builds).
cmake --preset clang-release
cmake --build --preset clang-release
# Optionally, if you want to install from source
cmake --build --preset clang-release --target install
Windows 10 or newer
Prerequisites
For Windows, you must have Windows 10, 2018 Fall Creators Update, and Visual Studio 2019, installed.
It will neither build nor run on any prior Windows OS, due to libterminal making use of ConPTY API.
Using External ConPTY Support on Windows 10
On Windows 10, the built-in ConPTY implementation has limitations with mouse input handling, particularly when using WSL2 with terminal applications like tmux. This is a known issue that affects several terminal emulators.
Contour supports using an external conpty.dll implementation which resolves these issues on Windows 10.
Put these files into your Contour bin directory (e.g. C:\Program Files\Contour Terminal Emulator 0.6\bin)
Start Contour. It will automatically detect and use the external ConPTY implementation.
Set up vcpkg, preferably somewhere high up in the folder hierarchy, and add the folder to your PATH.
cd C:\
git clone https://github.com/Microsoft/vcpkg.git
.\vcpkg\bootstrap-vcpkg.bat
Install Visual Studio Build Tools (make sure to select the CLI tools for
C++, which you might need to do in the separate components tab).
Install Qt6 (i.e. to C:\Qt)
Open the developer version of Powershell.
In the contour source folder execute .\scripts\install-deps.ps1. This step may take a very long time.
Compile
In the developer version of Powershell:
# change paths accordingly if you installed QT and vcpkg to somewhere else
cmake -S . -B build -DCMAKE_TOOLCHAIN_FILE=C:\vcpkg\scripts\buildsystems\vcpkg.cmake -DCMAKE_PREFIX_PATH=C:\Qt\6.5.0\msvc2019_64\lib\cmake
cmake --build build/
# Optionally, if you want to install from source
cmake --build build/ --target install
Distribution Packages
CLI - Command Line Interface
contour help prints every command with its options. The main ones:
Usage:
contour [terminal] [config FILE] [profile NAME] [layout NAME] [daemon-mode MODE]
[working-directory DIRECTORY] [class WM_CLASS] [PROGRAM ARGS...]
contour connect [TARGET] Where a window's sessions live: daemon, local, a saved host, ssh:// or tls://
contour client [socket PATH] [label NAME] [host NAME|URL] [tmux]
contour daemon [socket PATH] [label NAME] [listen-tcp HOST:PORT] [tls-cert FILE] [tls-key FILE]
status | logs | stop
contour daemon-service install|uninstall|start|stop|restart|status [label NAME]
contour ls | new | split | send | pane capture | close | label Script the daemon's workspaces, tabs and panes
contour block list | read and contour wait | events Read command blocks and follow what happens
contour api list | describe | call The typed control API
contour agent setup Teach coding agents to operate Contour panes
contour mcp [--allow-all-tabs] [--read-only] MCP server over stdio: coding agents drive their own tab
contour cat [IMAGE_FILE] Show an image in the terminal
contour capture [logical] [words] [lines COUNT] to FILE Capture the screen contents
contour set profile [to NAME]
contour generate config|terminfo|integration shell SHELL to FILE
contour info vt | info config | documentation vt|keys|configuration global|profile
contour help | version | license | list-debug-tags | font-locator
Contour - A modern C++ Terminal Emulator
-------------------------------------------
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.