mirror of
https://github.com/MohamedElashri/build-ghostty.git
synced 2026-04-08 02:45:09 -04:00
No description
| .github/workflows | ||
| LICENSE | ||
| README.md | ||
Ghostty Build Automation
This repository contains automation for building and releasing Ghostty, a fast, feature-rich, and cross-platform terminal emulator that uses platform-native UI and GPU acceleration.
Latest Version : v1.2.3
Installation
Method 1: Debian Package (Recommended for Debian/Ubuntu-based systems)
Download the appropriate .deb package for your Ubuntu version from the releases page:
- For Ubuntu 24.04:
sudo dpkg -i ghostty_<version>_ubuntu24.04_amd64.deb
sudo apt-get install -f # Install any missing dependencies
After installation, you can:
- Launch Ghostty from your applications menu
- Run
ghosttyfrom the terminal
Method 2: Portable Binary
If you prefer to run the portable version of Ghostty:
-
Download the
.debfile from the releases page:ghostty-linux-x86_64-ubuntu24.04.tar.gzfor Ubuntu 24.04
-
Extract the archive:
tar xzf ghostty-linux-x86_64-ubuntu*.tar.gz
- Run the binary:
./ghostty
Note: You'll need the following dependencies installed:
sudo apt-get update
sudo apt-get install -y libgtk-4-dev libgtk4-layer-shell-dev libadwaita-1-dev gettext libxml2-utils pkg-config
Building Manually
If you want to build Ghostty locally:
- Install system dependencies:
sudo apt-get update
sudo apt-get install -y libgtk-4-dev libgtk4-layer-shell-dev libadwaita-1-dev gettext libxml2-utils pkg-config git
- Install Zig:
wget https://ziglang.org/download/0.13.0/zig-linux-x86_64-0.13.0.tar.xz
tar xvf zig-linux-x86_64-0.13.0.tar.xz
- Clone and build:
git clone https://github.com/ghostty-org/ghostty.git
cd ghostty
../zig-linux-x86_64-0.13.0/zig build -Doptimize=ReleaseFast
- Run:
./zig-out/bin/ghostty
Automated Builds
This repository automatically:
- Checks for new Ghostty releases every 6 hours
- Creates GitHub releases with version-specific packages
- Generates both .deb packages and portable binaries
License
This project is licensed under the MIT License - see the LICENSE file for details.