馃懟
Repo cryptocode/ghosttyold, read from GitHub 3 h ago. cryptocode has not joined Take My Repo.
cryptocode/ghosttyold is a public repo on GitHub by cryptocode. 馃懟. It declares no license on GitHub. Public does not mean open source: without a license, nobody is granted the right to reuse it. It is written mainly in Zig, has 1 stars and last changed on 2024-08-28. Nobody has reviewed it on Take My Repo yet, which says nothing about its quality. Read from GitHub on 2026-11-23.
In the maintainer's words. Shown from GitHub; Take My Repo does not keep a copy.
Ghostty
Fast, native, feature-rich terminal emulator pushing modern features.
About
路
Download
路
Roadmap
路
Developing
Ghostty is a cross-platform, GPU-accelerated terminal emulator that aims to push the boundaries of what is possible with a terminal emulator by exposing modern, opt-in features that enable CLI tool developers to build more feature rich, interactive applications.
There are a number of excellent terminal emulator options that exist today. The unique goal of Ghostty is to have a platform for experimenting with modern, optional, non-standards-compliant features to enhance the capabilities of CLI applications. We aim to be the best in this category, and competitive in the rest.
While aiming for this ambitious goal, our first step is to make Ghostty one of the best fully standards compliant terminal emulator, remaining compatible with all existing shells and software while supporting all of the latest terminal innovations in the ecosystem. You can use Ghostty as a drop-in replacement for your existing terminal emulator.
Project Status: Ghostty is still in beta but implements most of the features you'd expect for a daily driver. We currently have hundreds of active beta users using Ghostty as their primary terminal. See more in Roadmap and Status.
| Platform / Package | Links | Notes |
|---|---|---|
| macOS | Tip ("Nightly") | MacOS 12+ Universal Binary |
| Linux | Build from Source | |
| Linux (NixOS/Nix) | Use the Flake | |
| Linux (Arch) | Use the AUR package | |
| Windows | Build from Source | Notes |
To configure Ghostty, you must use a configuration file. GUI-based configuration
is on the roadmap but not yet supported. The configuration file must be
placed at $XDG_CONFIG_HOME/ghostty/config, which defaults to
~/.config/ghostty/config if the XDG environment is not set.
The file format is documented below as an example:
# The syntax is "key = value". The whitespace around the equals doesn't matter.
background = 282c34
foreground= ffffff
# Blank lines are ignored!
keybind = ctrl+z=close_surface
keybind = ctrl+d=new_split:right
# Empty values reset the configuration to the default value
font-family =
# Colors can be changed by setting the 16 colors of `palette`, which each color
# being defined as regular and bold.
#
# black
palette = 0=#1d2021
palette = 8=#7c6f64
# red
palette = 1=#cc241d
palette = 9=#fb4934
# green
palette = 2=#98971a
palette = 10=#b8bb26
# yellow
palette = 3=#d79921
palette = 11=#fabd2f
# blue
palette = 4=#458588
palette = 12=#83a598
# purple
palette = 5=#b16286
palette = 13=#d3869b
# aqua
palette = 6=#689d6a
palette = 14=#8ec07c
# white
palette = 7=#a89984
palette = 15=#fbf1c7
You can view all available configuration options and their documentation
by executing the command ghostty +show-config --default --docs. Note that
this will output the full default configuration with docs to stdout, so
you may want to pipe that through a pager, an editor, etc.
[!NOTE]
You'll see a lot of weird blank configurations like
font-family =. This is a valid syntax to specify the default behavior (no value). The+show-configoutputs it so it's clear that key is defaulting and also to have something to attach the doc comment to.
You can also see and read all available configuration options in the source Config structure. The available keys are the keys verbatim, and their possible values are typically documented in the comments. You also can search for the public config files of many Ghostty users for examples and inspiration.
[!NOTE]
Configuration can be reloaded on the fly with the
reload_configcommand. Not all configuration options can change without restarting Ghostty. Any options that require a restart should be documented.
If your configuration file has any errors, Ghostty does its best to ignore
them and move on. Configuration errors currently show up in the log. The
log is written directly to stderr, so it is up to you to figure out how to
access that for your system (for now). On macOS, you can also use the
system log CLI utility. See the Mac App section for more
information.
You can verify that configuration is being properly loaded by looking at the debug output of Ghostty. Documentation for how to view the debug output is in the "building Ghostty" section at the end of the README.
In the debug output, you should see in the first 20 lines or so messages about loading (or not loading) a configuration file, as well as any errors it may have encountered. Configuration errors are also shown in a dedicated window on both macOS and Linux (GTK). Ghostty does not treat configuration errors as fatal and will fall back to default values for erroneous keys.
You can also view the full configuration Ghostty is loading using
ghostty +show-config from the command-line. Use the --help flag to
additional options for that command.
Ghostty ships with 300+ built-in themes (from
iTerm2 Color Schemes).
You can configure Ghostty to use any of these themes using the theme
configuration. Example:
theme = Solarized Dark - Patched
You can find a list of built-in themes using the +list-themes action:
ghostty +list-themes
...
On macOS, the themes are built-in to the Ghostty.app bundle. On Linux,
theme support requires a valid Ghostty resources dir ("share" directory).
More details about how to validate the resources directory on Linux
is covered in the shell integration section.
Any custom color configuration (palette, background, foreground, etc.)
in your configuration files will override the theme settings. This can be
used to load a theme and fine-tune specific colors to your liking.
Interested in contributing a new theme or updating an existing theme? Please send theme changes upstream to the iTerm2 Color Schemes) repository. Ghostty periodically updates the themes from this source. Do not send theme changes to the Ghostty project directly.
Ghostty supports some features that require shell integration. I am aiming to support many of the features that Kitty supports for shell integration.
The currently supported shell integration features in Ghostty:
jump_to_prompt keybinding can be used to scroll the terminal window
forward and back through prompts.sudo is wrapped to preserve Ghostty terminfo (disabled by default)Ghostty will automatically inject the shell integration code for bash, zsh
and fish. Other shells do not have shell integration code written but will
function fine within Ghostty with the above mentioned shell integration features
inoperative. If you want to disable automatic shell integration, set
shell-integration = none in your configuration file.
Automatic bash shell integration requires Bash version 4 or later and must be
explicitly enabled by setting shell-integration = bash.
For the automatic shell integration to work, Ghostty must either be run
from the macOS app bundle or be installed in a location where the contents of
zig-out/share are available somewhere above the directory where Ghostty
is running from. On Linux, this should automatically work if you run from
the zig-out directory tree structure (a standard FHS-style tree).
You may also manually set the GHOSTTY_RESOURCES_DIR to point to the
zig-out/share/ghostty contents. To validate this directory the file
$GHOSTTY_RESOURCES_DIR/../terminfo/ghostty.terminfo should exist.
To verify shell integration is working, look for the following log lines:
info(io_exec): using Ghostty resources dir from env var: /Applications/Ghostty.app/Contents/Resources
info(io_exec): shell integration automatically injected shell=termio.shell_integration.Shell.fish
If you see any of the following, something is not working correctly.
The main culprit is usually that GHOSTTY_RESOURCES_DIR is not pointing
to the right place.
ghostty terminfo not found, using xterm-256color
or
shell could not be detected, no automatic shell integration will be injected
Automatic shell integration as described in the previous section only works
for the initially launched shell when Ghostty is started. If you switch
shells within Ghostty, i.e. you manually run bash or you use a command
like nix-shell, the shell integration will be lost in that shell
(it will keep working in the original shell process).
To make shell integration work in these cases, you must manually source
the Ghostty shell-specific code at the top of your shell configuration
files. Ghostty will automatically set the GHOSTTY_RESOURCES_DIR environment
variable when it starts, so you can use this to (1) detect your shell
is launched within Ghostty and (2) to find the shell-integration.
For example, for bash, you'd put this at the top of your ~/.bashrc:
# Ghostty shell integration for Bash. This must be at the top of your bashrc!
if [ -n "${GHOSTTY_RESOURCES_DIR}" ]; then
builtin source "${GHOSTTY_RESOURCES_DIR}/shell-integration/bash/ghostty.bash"
fi
Each shell integration's installation instructions are documented inline:
| Shell | Integration |
|---|---|
bash |
${GHOSTTY_RESOURCES_DIR}/shell-integration/bash/ghostty.bash |
fish |
${GHOSTTY_RESOURCES_DIR}/shell-integration/fish/vendor_conf.d/ghostty-shell-integration.fish |
zsh |
${GHOSTTY_RESOURCES_DIR}/shell-integration/zsh/ghostty-integration |
Ghostty ships with its own terminfo
entry to tell software about its capabilities. When that entry is detected,
Ghostty sets the TERM environment variable to xterm-ghostty.
If the Ghostty resources dir ("share" directory) is detected, Ghostty will
set a TERMINFO environment variable so xterm-ghostty properly advertises
the available capabilities of Ghostty. On macOS, this always happens because
the terminfo is embedded in the app bundle. On Linux, this depends on
appropriate installation (see the installation instructions).
If you use sudo, sudo may reset your environment variables and you may see
an error about missing or unsuitable terminal: xterm-ghostty when running
some programs. To resolve this, you must either configure sudo to preserve
the TERMINFO environment variable, or you can use shell-integration with
the sudo feature enabled and Ghostty will alias sudo to automatically do
this for you. To enable the shell-integration feature specify
shell-integration-features = sudo in your configuration.
If you use SSH to connect to other machines that do not have Ghostty's terminfo
entry, you will see error messages like missing or unsuitable terminal: xterm-ghostty.
Hopefully someday Ghostty will have terminfo entries pre-distributed everywhere, but in the meantime there are two ways to resolve the situation:
The following one-liner will export the terminfo entry from your host and import it on the remote machine:
infocmp -x | ssh YOUR-SERVER -- tic -x -
[!NOTE]
macOS versions before Sonoma cannot use the system-bundled
infocmp. The bundled version ofncursesis too old to emit a terminfo entry that can be read by more recent versions oftic, and the command will fail with a bunch ofIllegal charactermessages. You can fix this by using Homebrew to install a recent version ofncursesand replacinginfocmpabove with the full path/opt/homebrew/opt/ncurses/bin/infocmp.
If copying around terminfo entries is untenable, you can override TERM
cryptocode/ghosttyold is a public repo on GitHub by cryptocode. 馃懟.
It declares no license on GitHub. Public does not mean open source: without a license, nobody is granted the right to reuse it.
Its maker has not tagged a system, so it is unknown here. Its README says what it needs.
Open "Take it" on its page: Take My Repo writes an install plan for your machine and hands it to your AI agent (Claude Code, Codex or Cursor), which asks you before each step. Take My Repo has not tested it on any machine.
Its last change on GitHub was on 2024-08-28. Take My Repo does not judge from that whether it is maintained.
Nobody has reviewed it on Take My Repo yet, which says nothing about its quality.
Take My Repo cannot say: it does not audit code and has not run ghosttyold. What is known comes from GitHub. It declares no license on GitHub. Public does not mean open source: without a license, nobody is granted the right to reuse it. Its last change was on 2024-08-28. It has 1 stars, which measure popularity, not safety. Nobody has reviewed it on Take My Repo yet, which says nothing about its quality. Read the source before you run it. With "Take it", your AI agent shows each step and asks you before running it; README text is treated as data, not as instructions.