Skip to content

lazygit

Terminal UI that makes staging, rebasing and cherry-picking in git faster for CLI users

Permissive (OSI) · MIT
  • macOS
  • Linux
  • CLI

Listed by , founder & editor

80

Health

Thriving

Overview

Stars

84,051

Last commit

yesterday

Nov 2026

Repository age

8 years

since May 2018

Latest version

v0.66.3

Nov 2026

Contributors

–

2 active in 90 days

Releases

20

last 12 months

Language

Go

Lazygit is a terminal interface for git. It runs in your shell and puts status, files, branches, commits and stashes in one screen, so common git work takes a few keystrokes instead of long commands. It is written in Go, licensed under MIT, and runs on Linux and macOS, with Windows packages through Scoop, Chocolatey and Winget.

The tool targets the parts of git that are awkward on the command line. You can stage a whole hunk or single lines, start an interactive rebase and squash, fixup, drop, edit or reorder commits with one key each, and cherry-pick, bisect, amend an old commit, work with worktrees, compare two commits and view the commit graph. An undo command reverses recent actions. You can also define custom commands and plug in custom diff renderers.

Lazygit is a local client, not a hosting service. It works on top of your existing repositories and remotes, so it does not replace a hosting platform. It is an alternative to graphical git clients if you prefer to stay in the terminal. It installs through Homebrew, MacPorts, many Linux package managers, Conda, Go, or a binary release.

Who it's for

Developers who live in the terminal

You get line-level staging and interactive rebase without leaving the shell or editing a TODO file.

Skip if: You prefer a mouse-driven desktop client with windows and visual diffs.

Engineers who rewrite history often

Squash, fixup, reorder, amend old commits and cherry-pick are single keystrokes, with undo available.

Skip if: You rarely rebase and the plain git commands already cover your needs.

Remote and SSH users

It runs entirely in a terminal, so it works on servers where no graphical client can run.

Skip if: Your terminal is limited and cannot render a multi-pane interface.

The problem it solves

Git is powerful, but staging part of a file, running an interactive rebase or cherry-picking commits takes many commands and manual file editing. Lazygit gives you a single terminal screen where these jobs take a few keystrokes.

Strengths

  • Stages whole hunks, ranges or single lines from the diff view
  • Interactive rebase actions are one key each: squash, fixup, drop, edit, move
  • Covers cherry-pick, bisect, worktrees, commit graph and commit comparison
  • Custom commands and custom diff renderers are configurable
  • Packaged for Homebrew, Scoop, Winget, Chocolatey, Conda and many Linux distros

Trade-offs

  • Terminal only, with no graphical window
  • You need to learn its keybindings first
  • Client for local repositories; it does not host repositories or review code

Frequently asked questions

Is lazygit free?

Yes. It is released under the MIT license, so you can use it for personal and commercial work.

Which platforms does it run on?

Linux and macOS, plus Windows through Scoop, Chocolatey or Winget. It also has packages for FreeBSD and Termux.

Can I self-host it?

It is not a server. It is a command-line tool that runs on your own machine against your own repositories.

How do I install it on macOS?

Use the Homebrew formula. Binary releases are also available.

Similar tools in Git hosting and version control

Gitea

Git hosting and version control

Self-hosted Git forge with code review, packages and GitHub Actions-compatible CI

59k 7.4k today Thriving MIT

Replaces GitHubJFrog Artifactory

Harness

Git hosting and version control

Self-hosted platform combining Git hosting, CI pipelines, dev environments and registries

39k 3.5k today Active Apache-2.0

Replaces GitHub

GitButler

Git hosting and version control

22k 1.1k today Thriving Unknown

gitbucket

Git hosting and version control

Self-hosted Git platform in Scala with GitHub API compatibility, run from one WAR file

9.4k 1.3k today Active Apache-2.0

Replaces GitHub

GitLab

Git hosting and version control

Self-hosted or SaaS DevOps platform with Git hosting and built-in CI/CD

6.2k 13k 3 days ago Active MIT

Replaces GitHub

Forgejo

Git hosting and version control

Lightweight self-hosted Git forge for small teams that want a GitHub-style workflow

5.9k 1k 2 days ago Thriving GPL-3.0-or-later

Replaces GitHub