Gwd.putty PDocsLinux & DevOps
Related
Shared Memory, Shared Page Tables: The Promise of Linux mshareUbuntu Twitter Hacked: Fake AI Agent Tweet Pushes Crypto Scam After DDoS AssaultFedora Atomic Desktops 44: Key Updates and Migration GuideHow to Respond to a DDoS Attack on Your Ubuntu InfrastructureMastering Fedora KDE Plasma Desktop 44: A Complete Installation and Configuration GuideLinux Mint Launches Urgent HWE ISOs to Fix Hardware Support GapsEverything You Need to Know About Ubuntu 26.10's Unusual Codename10 Critical Requirements for New Linux File-Systems to Avoid Kernel Bloat

How to Install and Master the Ratty 3D Terminal Emulator

Last updated: 2026-05-17 15:54:28 · Linux & DevOps

Introduction

Have you ever wished your terminal could be more than a screen full of monospaced text? Meet Ratty, a modern, Rust-based terminal emulator that blends the power of a GPU-rendered command line with a playful, 3D interactive experience. Unlike traditional terminals, Ratty introduces a customizable 3D rat cursor, a full 3D mode that warps your terminal window into a canvas, inline 3D objects, and even built-in image support. Inspired by TempleOS yet built for modern performance, Ratty transforms the mundane act of typing commands into an engaging visual journey. This guide will walk you through everything you need to know—from installation to unlocking its most absurd yet totally fun features. Whether you’re a developer, a tinkerer, or just someone who loves weird tech, you’ll learn how to set up Ratty, navigate its unique modes, and make the most of its experimental capabilities.

How to Install and Master the Ratty 3D Terminal Emulator
Source: itsfoss.com

What You Need

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

  • A Linux distribution (Ratty is primarily designed for Linux; other Unix-like systems may work but are not officially supported)
  • Rust toolchain (to compile from source; install via curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh)
  • GPU drivers (for hardware-accelerated rendering; ensure Vulkan or OpenGL support)
  • Basic familiarity with the command line (installing, running commands, using keyboard shortcuts)
  • Optional: Kitty Graphics Protocol support (for inline 3D objects and image display; Ratty implements this protocol)
  • Git (if you want the latest development version)
  • cargo (included with Rust, for building and installing)

Step-by-Step Guide

Step 1: Install Ratty

Start by cloning the official repository and building the terminal emulator. Open your existing terminal and run:

git clone https://github.com/orhun/ratty.git
cd ratty
cargo build --release

This compiles Ratty with all optimizations. The resulting binary will be at target/release/ratty. Optionally, move it to a directory in your PATH, such as ~/.local/bin/ or /usr/local/bin/. Alternatively, check if your distribution offers a prebuilt package (as of writing, many do not).

Step 2: Launch Ratty

Run Ratty by executing:

./ratty

If you moved the binary, simply type ratty. You’ll see a retro-style terminal window with a spinning 3D rat as the mouse cursor. The rat rotates continuously, adding a whimsical touch to the cursor. Try typing a few commands—the rat moves along with the cursor, following your text input.

Step 3: Explore the Default 3D Rat Cursor

Ratty’s default cursor is a 3D rat model that spins in place. This is achieved through the Bevy game engine and Ratatui terminal library. The cursor is not just a static sprite; it’s a full 3D object rendered in real-time. You can customize it later by modifying configuration files, but for now, enjoy the novelty. The rat cursor demonstrates how Ratty blends traditional terminal protocols with 3D graphics.

Step 4: Enter 3D Mode

One of Ratty’s standout features is 3D Mode, which turns your terminal window into a interactive 3D scene. Use the keyboard shortcut CTRL+ALT+Enter to toggle this mode. In 3D Mode, the terminal output is no longer flat. You can pull, warp, and view your command output from different angles. Text becomes a dynamic surface you can manipulate. This effect is especially impressive when scrolling through long output—the lines twist in three-dimensional space.

Step 5: Activate Mobius Mode

For an even more mind-bending experience, press CTRL+ALT+M while already in 3D Mode. This triggers Mobius Mode, which bends the terminal screen into a continuous Möbius strip. The output wraps around a toroidal surface, creating a surreal loop. It’s a pure visual trick, but it showcases Ratty’s integration with the Bevy engine. You can exit Mobius Mode by pressing the same shortcut again or returning to standard 3D Mode.

Step 6: Adjust Warp Levels

When you’re in 3D Mode, you can control the amount of warp applied to the terminal view. Press Super+CTRL+ALT+Up to increase warp and Super+CTRL+ALT+Down to decrease it. The “Super” key is typically the Windows key or Command key on Mac. Warping distorts the terminal plane, creating a fisheye or curved effect. Experiment with different levels to find a comfortable balance—or max it out for a wild perspective.

How to Install and Master the Ratty 3D Terminal Emulator
Source: itsfoss.com

Step 7: Use Inline 3D Objects

Ratty supports embedding 3D models directly into the terminal output, anchored to specific text cells. This feature is made possible via the Ratty Graphics Protocol, which communicates between the terminal data and the 3D engine. To use inline 3D objects, you’ll need to register a 3D asset (e.g., a .glb file) and then use a custom escape sequence or a helper program to position it. Detailed instructions are available in the official repository. The result: 3D models that scroll and move seamlessly with your text—perfect for visualizing data or adding playful elements to scripts.

Step 8: Display Images

Ratty also implements the Kitty Graphics Protocol, which allows you to display images directly in the terminal. To use this, you can run a command like kitty +kitten icat image.png (if you have Kitty installed) or use a simple tool like chafa. Ratty will render the image inline, respecting the terminal’s dimensions. This is great for previewing screenshots, diagrams, or even memes without leaving the command line.

Tips and Conclusion

Now that you’ve installed and experimented with Ratty, here are some tips to get the most out of this quirky terminal:

  • Start with default settings before tweaking config files—the out-of-the-box experience is already impressive.
  • Use 3D Mode sparingly for everyday tasks; the warp effects can be disorienting for heavy terminal work. Save it for demos or when you need a creativity boost.
  • Combine inline 3D objects with custom scripts to create interactive visualizations of system logs, file trees, or network data.
  • Ratty is experimental—expect occasional bugs or performance dips with complex 3D scenes. Report issues on the GitHub page.
  • Don’t forget the keyboard shortcuts: CTRL+ALT+Enter for 3D Mode, CTRL+ALT+M for Mobius, Super+CTRL+ALT+Up/Down for warp.
  • If you encounter rendering problems, ensure your GPU drivers are up-to-date and that you’re running a compositor that supports Vulkan/OpenGL.

Ratty proves that a terminal doesn’t have to be boring. While it may seem absurd to have a spinning rat as a cursor or to bend your command line into a Möbius strip, these features open the door to new ways of interacting with the command line. Whether you use it for development, creative coding, or just for fun, Ratty offers a refreshing break from the mundane. Dive in, explore the 3D modes, and let the rat guide you to a more playful computing experience.