Jump to content

Ghostty: Difference between revisions

From Official NixOS Wiki
Kaya (talk | contribs)
Add terminal category
DHCP (talk | contribs)
m infobox: bump latestRelease version... Note: the {{application}} template is absolute evil: requires "Github link" (see e.g. Emacs!), versions have to be manually updated, logos don't load on many pages (see e.g. Neovim)
 
(One intermediate revision by one other user not shown)
Line 8: Line 8:
| github = https://github.com/ghostty-org/ghostty
| github = https://github.com/ghostty-org/ghostty
| initialRelease = 31 December 2024
| initialRelease = 31 December 2024
| latestRelease = 1.2.3; 23 October 2025.
| latestRelease = 1.3.1; 13 March 2026.
| os = Linux, macOS
| os = Linux, macOS
| programmingLanguage = Zig
| programmingLanguage = Zig
Line 16: Line 16:


== Installation ==
== Installation ==
Ghostty can be installed in the usual ways via declaring it in either your NixOS configuration or in your Home Manager configuration.
[[Adding programs to PATH|Install]] the <code>ghostty</code> package on Linux or the <code>ghostty-bin</code> package on Darwin/macOS. If you're configuring Ghostty with Home Manager, you don't have to install the package manually.
 
{{Note|If you are using Darwin/macOS. You will have to use the ghostty-bin package instead!}}<syntaxhighlight lang="nix">
# System-wide installation (in /etc/nixos/configuration.nix)
environment.systemPackages = with pkgs; [
  ghostty
];
 
# User-specific installation (in ~/.config/nixpkgs/home.nix)
home.packages = with pkgs; [
  ghostty
];
 
</syntaxhighlight>


== Configuring Ghostty with Home Manager ==
== Configuring Ghostty with Home Manager ==

Latest revision as of 20:48, 20 May 2026

Ghostty

Terminal emulator Application

100%
Initial release31 December 2024
Latest release1.3.1; 13 March 2026.
Operating SystemLinux, macOS
Language(s)Zig
External links
Websitehttps://ghostty.org/
GitHubhttps://github.com/ghostty-org/ghostty
Bug trackerhttps://github.com/ghostty-org/ghostty/issues
Documentationhttps://ghostty.org/docs

Ghostty is a fast, feature-rich, and cross-platform terminal emulator that uses platform-native UI and GPU acceleration.[1]

Installation

Install the ghostty package on Linux or the ghostty-bin package on Darwin/macOS. If you're configuring Ghostty with Home Manager, you don't have to install the package manually.

Configuring Ghostty with Home Manager

A quick example on how to configure and install Ghostty with Home Manager, full set of options can be found here.

❄︎ home.nix
{ pkgs, ... }: {
  programs.ghostty = {
    enable = true;
    package = if pkgs.stdenv.isDarwin then pkgs.ghostty-bin else pkgs.ghostty;

    # Enable for whichever shell you plan to use!
    enableBashIntegration = true;
    enableFishIntegration = true;
    enableZshIntegration = true;

    settings = {
      theme = "Abernathy";
      background-opacity = "0.95";
    };
  };
}