Jump to content

Ghostty

From ArchWiki

This article is being considered for redirection to List of applications/Utilities#Terminal.

Notes: Duplicates ghostty(5). (Discuss in Talk:Ghostty)

Project's Website: Ghostty is a fast, feature-rich, and cross-platform terminal emulator that uses platform-native UI and GPU acceleration.

Installation

Install the ghostty package.

Configuration

The configuration file, config, is loaded from these locations in the following order. Configuration is optional and if no configuration file is found, Ghostty will use its defaults.

  1. $XDG_CONFIG_HOME/ghostty/config
  2. $HOME/.config/ghostty/config if XDG_CONFIG_HOME is not defined

The full default configuration, ghostty +show-config --default --docs. Best viewed with the less command.

$ ghostty +show-config --default --docs | less'

Basic Syntax

# The syntax is "key = value". The whitespace around the
# equals doesn't matter.
background = 282c34
background=282c34
background =282c34
background= 282c34

# Comments start with a `#`

# Empty values reset the configuration to the default value
font-family =

Font

font-size = 15

font-family = "Monospace"
font-family-bold = "Monospace"