This guide provides detailed instructions for installing gitlogue on different platforms.
- Git must be installed on your system
- For building from source: Rust 1.70 or later
The quickest way to install gitlogue is using the installation script:
curl -fsSL https://raw.githubusercontent.com/unhappychoice/gitlogue/main/install.sh | bashThis script will:
- Automatically detect your platform (macOS Intel/ARM, Linux x64/ARM64)
- Download the latest release binary
- Install to
~/.local/bin(customizable withINSTALL_DIRenvironment variable)
Custom installation directory:
INSTALL_DIR=/usr/local/bin curl -fsSL https://raw.githubusercontent.com/unhappychoice/gitlogue/main/install.sh | bashFor macOS and Linux users with Homebrew:
brew install unhappychoice/tap/gitlogueUpdating via Homebrew:
brew upgrade gitloguegitlogue is available in the official Arch Linux repositories:
sudo pacman -Syu gitlogueThis keeps you on the latest packaged release, integrates with system upgrades, and installs the binary into /usr/bin.
Install from crates.io using Cargo:
cargo install gitlogueThis will download, compile, and install the latest version.
Run directly without installation:
nix run github:unhappychoice/gitlogueOr add to your flake inputs:
{
inputs.gitlogue.url = "github:unhappychoice/gitlogue";
}Then use inputs.gitlogue.packages.${system}.default in your configuration.
Pre-built binaries for multiple platforms are available in the Releases section.
Supported platforms:
- macOS (Intel: x86_64, Apple Silicon: aarch64)
- Linux (x64: x86_64, ARM64: aarch64)
- Windows (x64: x86_64)
Manual installation:
- Download the appropriate archive for your platform
- Extract the binary:
# For Linux/macOS tar -xzf gitlogue-v*.tar.gz # For Windows # Use your preferred extraction tool for .zip files
- Move to a directory in your PATH:
sudo mv gitlogue /usr/local/bin/
If you want to build the latest development version or contribute to the project:
-
Clone the repository:
git clone https://github.com/unhappychoice/gitlogue.git cd gitlogue -
Build and install:
cargo install --path .Or just build for development:
cargo build --release
The binary will be located at
target/release/gitlogue.
On macOS, you may need to install Xcode Command Line Tools if you haven't already:
xcode-select --installMake sure you have the build essentials installed:
Ubuntu/Debian:
sudo apt update
sudo apt install build-essential gitFedora/RHEL:
sudo dnf install gcc gitArch Linux:
sudo pacman -S base-devel git- Install Rust using rustup
- Install Git for Windows
- Follow the Cargo installation method above
After installation, verify that gitlogue is correctly installed:
gitlogue --helpYou should see the help message with available commands and options.
Re-run the installation script to update to the latest version:
curl -fsSL https://raw.githubusercontent.com/unhappychoice/gitlogue/main/install.sh | bashbrew upgrade gitlogueTo update to the latest version:
cargo install gitlogueCargo will automatically update to the newest version.
cd gitlogue
git pull origin main
cargo install --path .If installed via the install script, manually remove the binary:
rm ~/.local/bin/gitlogue
# Or if you used a custom INSTALL_DIR
rm /path/to/your/install/dir/gitloguebrew uninstall gitloguecargo uninstall gitloguegitlogue supports configuration via ~/.config/gitlogue/config.toml. See the Configuration Guide for detailed options and the Usage Guide for command-line options.
If you get a "command not found" error after installation, make sure the installation directory is in your PATH:
For Install Script (default: ~/.local/bin):
export PATH="$HOME/.local/bin:$PATH"For Cargo:
export PATH="$HOME/.cargo/bin:$PATH"Add the appropriate line to your shell configuration file (~/.bashrc, ~/.zshrc, etc.) to make it permanent.
If you encounter build errors:
-
Ensure you have the latest version of Rust:
rustup update
-
Clean the build directory and try again:
cargo clean cargo build --release
On Linux/macOS, if you encounter permission errors during installation, you may need to use sudo:
sudo cargo install gitlogueHowever, it's generally recommended to use cargo without sudo and ensure your user has proper permissions.
If you see an error like:
gitlogue: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.35' not found (required by gitlogue)
This means your system's glibc version is older than what the pre-built binary requires.
Solutions:
-
Upgrade your OS (Recommended)
The safest way is to upgrade to a newer version of your Linux distribution:
- Ubuntu 22.04+ includes glibc 2.35
- Debian 12 (Bookworm)+ includes glibc 2.36
- Fedora 36+ includes glibc 2.35+
-
Build from source
Install via Cargo to compile for your system:
cargo install gitlogue
-
Use Nix
If you have Nix installed:
nix run github:unhappychoice/gitlogue
- Read the Usage Guide to learn how to use gitlogue
- Explore Theme Customization to personalize your experience
- Check out the Contributing Guidelines if you want to contribute
If you encounter issues during installation:
- Check the GitHub Issues for known problems
- Open a new issue if your problem isn't already reported
- Include your OS, Rust version (
rustc --version), and error messages