$linuxjunkies
>

ghostty(1)

Ghostty is a fast, native GPU-accelerated terminal emulator written in Zig with modern features and excellent performance.

UbuntuDebianFedoraArch

Synopsis

ghostty [OPTIONS] [COMMAND]

Description

Ghostty is a next-generation terminal emulator designed for speed and simplicity. It uses GPU acceleration for rendering, supports modern terminal features like kitty graphics protocol, and provides a clean configuration system. Ghostty works on macOS and Linux with both Wayland and X11 support.

The command can launch a shell, run a specific program, or open an interactive terminal session. Configuration is done via a plain-text config file at ~/.config/ghostty/config on Linux.

Common options

FlagWhat it does
-e COMMANDExecute a command instead of opening a shell
--title TITLESet the initial window title
--class CLASSSet the X11 window class name
--working-directory DIRSet the initial working directory
--font-family FAMILYSpecify the font family to use
--font-size SIZESet the font size in points
--theme THEMELoad a built-in or custom color theme
--print-config-filePrint the path to the active config file

Examples

Open a new Ghostty terminal window with default settings

ghostty

Open Ghostty and immediately launch neovim to edit a file

ghostty -e nvim /path/to/file

Launch Ghostty with a custom title and specific working directory

ghostty --title 'My Project' --working-directory ~/projects/myapp

Start Ghostty with a specific font and size

ghostty --font-family 'JetBrains Mono' --font-size 12

Open Ghostty using the Dracula color theme

ghostty --theme dracula

Display the full path to the configuration file

ghostty --print-config-file

Related commands