🐢 Install Latest lazygit on Debian

Simple terminal UI for git commands

Latest Version: 0.54.1+ (August 2025)
← Back to home

What is lazygit?

lazygit is a simple terminal UI for git commands created by Jesse Duffield. It transforms complex Git operations into intuitive visual interactions, making version control accessible and efficient for developers of all skill levels. With over 63k GitHub stars, it's become the go-to Git TUI for developers worldwide.

😤 Git Pain Points Solved: Tired of editing TODO files for interactive rebasing? Frustrated with arcane patch files for staging? Fed up with complex command-line Git workflows? lazygit makes Git operations visual, intuitive, and actually enjoyable to use.
🚀 Why Latest Versions Matter: lazygit is actively developed with frequent releases containing new features, performance improvements, and workflow enhancements. The latest versions include improved interactive rebasing, better conflict resolution, enhanced custom commands, and critical bug fixes.

⚡ Key Features of lazygit

📝 Visual Staging

Stage individual lines or hunks with simple keystrokes. No more complex patch editing - just press space to stage what you want.

🔄 Interactive Rebasing

Squash, fixup, drop, edit, and reorder commits with intuitive keyboard shortcuts. No TODO file editing required.

🍒 Cherry-picking

Copy and paste commits between branches with shift+c and shift+v. Visual commit selection and application.

🔍 Git Bisect

Visual git bisect interface to find problematic commits quickly. Mark commits as good/bad with simple keystrokes.

🌳 Worktrees

Create and manage Git worktrees to work on multiple branches simultaneously without stashing or WIP commits.

⚙️ Custom Commands

Extensible custom command system to add your own Git workflows and shortcuts directly into the interface.

🆕 What's New in lazygit 0.54.1+

📦 Installation from debian.griffo.io

Step 1: Add Repository

# Add GPG key curl -sS https://debian.griffo.io/EA0F721D231FDD3A0A17B9AC7808B4DD62C41256.asc | sudo gpg --dearmor --yes -o /etc/apt/trusted.gpg.d/debian.griffo.io.gpg # Add repository echo "deb https://debian.griffo.io/apt $(lsb_release -sc 2>/dev/null) main" | sudo tee /etc/apt/sources.list.d/debian.griffo.io.list # Update package list sudo apt update

Step 2: Install lazygit

# Install latest lazygit sudo apt install lazygit # Verify installation lazygit --version

🎯 Basic Usage Examples

Launch lazygit:

# Start lazygit in current Git repository lazygit # Create alias for convenience echo "alias lg='lazygit'" >> ~/.bashrc source ~/.bashrc # Now use the alias lg

Essential keybindings:

# Navigation j/k or ↑/↓ - Move up/down h/l or ←/→ - Switch between panels tab - Next panel shift+tab - Previous panel # Staging space - Stage/unstage file or hunk a - Stage all changes in file v - Start visual selection # Commits c - Commit staged changes shift+c - Copy commit (cherry-pick) shift+v - Paste commit # Rebasing i - Start interactive rebase s - Squash commit f - Fixup commit d - Drop commit

Advanced workflows:

# Undo/Redo z - Undo last action ctrl+z - Redo last undone action # Worktrees w - Create worktree from branch # Filtering / - Filter current view # Custom commands : - Open custom command prompt

🚀 Why Choose debian.griffo.io?

📊 Version Comparison:
  • Official Debian Trixie/Sid: Available but often outdated
  • Debian Bookworm: Not available in official repositories
  • debian.griffo.io: Latest version (0.54.1+) available immediately

🔗 Related Packages

Also available from debian.griffo.io:

🎯 Perfect for: Developers who want to make Git operations visual and intuitive, teams looking to improve Git workflows, anyone frustrated with complex Git command-line operations, and users who prefer TUI applications.