Mastering Ratty: A Complete Guide to the Fun, GPU-Accelerated Terminal Emulator

Overview

If you've spent any time on Linux, you know there's no shortage of terminal emulators. Most of us stick with the default or have a favorite like Kitty or Alacritty. But every now and then, something comes along that makes you do a double-take. Ratty is that something. It's a modern, Rust-based terminal emulator that ditches the boring cursor in favor of a spinning 3D rat. Yes, a rat. But Ratty isn't just a gimmick—it's a fully functional, GPU-rendered emulator that can display 3D models inline, warp your terminal into a Mobius strip, and even show images. Built with the Bevy game engine and inspired by TempleOS’s retro aesthetic, Ratty proves that terminals can be both powerful and playful. This guide will walk you through everything you need to know: from installation to using its most eye-catching features.

Mastering Ratty: A Complete Guide to the Fun, GPU-Accelerated Terminal Emulator
Source: itsfoss.com

Prerequisites

Before diving in, make sure your system meets these requirements:

If you're not sure about your GPU, run glxinfo | grep OpenGL or install vulkan-tools and run vulkaninfo to verify Vulkan support.

Step-by-Step Guide

1. Installing Ratty

Ratty is available via source code on GitHub. You can also check if prebuilt binaries exist (the project is still experimental).

  1. Open a terminal and clone the repository:
    git clone https://github.com/orhun/ratty.git
    cd ratty
  2. Build Ratty using Cargo (this may take a few minutes):
    cargo build --release
  3. After compilation, find the binary in target/release/ratty. You can copy it to a directory in your PATH (e.g., ~/.local/bin).
  4. Launch Ratty by running ./ratty or just ratty if placed in PATH.

On first launch, you'll see a standard terminal with a spinning 3D rat as the cursor. Congratulations, you're in!

2. Basic Configuration

Ratty currently doesn't have a full config file, but many features are toggled via keyboard shortcuts. To customize the appearance, you can modify the source code or wait for future releases. For now, let's explore the built-in features.

3. Working with the 3D Cursor

The most obvious feature is the 3D rat cursor. By default, it rotates continuously. As you type, the rat moves with the text insertion point. To change the cursor model, you'd need to edit the source (look for assets folder), but the default rat is charming enough.

4. Entering 3D Mode

Ratty’s 3D Mode transforms the entire terminal into a canvas you can warp and view from any angle. To activate:

For a truly mind-bending experience, try Mobius Mode:

5. Inline 3D Objects

Ratty supports anchoring 3D models directly to text cells. This means as you scroll, the 3D objects move with the text. To use this feature, you'll need to write a program that communicates via the Ratty Graphics Protocol (a custom protocol).

Mastering Ratty: A Complete Guide to the Fun, GPU-Accelerated Terminal Emulator
Source: itsfoss.com

Example (conceptual):

// Pseudocode for sending a 3D model
ratty_graphics_send("model.glb", row=10, col=5);

The Ratty Graphics Protocol uses terminal escape sequences to tell the emulator where to place models. For now, only developers can create custom objects, but you can test inline models by running:

echo -e '\033_RattyGraphics\033\\'

(Check the project's README for exact sequences.)

6. Built-in Image Support

Ratty implements the Kitty Graphics Protocol, meaning you can display images directly in the terminal. To show an image:

kitty +kitten icat image.png

If you don't have the Kitty icat tool, you can use a simple script that sends the proper escape codes. Ratty renders images in the terminal area without external windows.

Common Mistakes

Summary

Ratty is a delightful blend of terminal utility and game-engine flair. Its spinning rat cursor, 3D Mode, Mobius strip, inline 3D objects, and image support make it one of the most unique emulators out there. While it's not intended to replace your daily terminal, it's perfect for impressing friends, prototyping graphical terminal ideas, or just having fun. The installation is straightforward if you have Rust and Vulkan. Remember to check the official GitHub repo for updates and bug fixes. Give Ratty a try—you might never look at a boring block cursor the same way again.

Tags:

Recommended

Discover More

Python 3.14.0 Officially Released: Free-Threaded Python and Deferred Annotations Lead Major UpdateDell UltraSharp 52 Thunderbolt Hub Monitor: A 6K Powerhouse That Redefines Professional DisplaysKubernetes v1.36 Delivers Fine-Grained Kubelet API Authorization at General AvailabilityFDA Tightens Rules on Compounded Obesity Drugs and Appoints New Biologics DirectorHow Spotify Wrapped 2025 Works: The Engineering Behind Your Year in Music