ghostty(1)
Ghostty is a fast, native GPU-accelerated terminal emulator written in Zig with modern features and excellent performance.
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
| Flag | What it does |
|---|---|
-e COMMAND | Execute a command instead of opening a shell |
--title TITLE | Set the initial window title |
--class CLASS | Set the X11 window class name |
--working-directory DIR | Set the initial working directory |
--font-family FAMILY | Specify the font family to use |
--font-size SIZE | Set the font size in points |
--theme THEME | Load a built-in or custom color theme |
--print-config-file | Print the path to the active config file |
Examples
Open a new Ghostty terminal window with default settings
ghosttyOpen Ghostty and immediately launch neovim to edit a file
ghostty -e nvim /path/to/fileLaunch Ghostty with a custom title and specific working directory
ghostty --title 'My Project' --working-directory ~/projects/myappStart Ghostty with a specific font and size
ghostty --font-family 'JetBrains Mono' --font-size 12Open Ghostty using the Dracula color theme
ghostty --theme draculaDisplay the full path to the configuration file
ghostty --print-config-file