Skip to content

Commit 2b43f5b

Browse files
Add Debian installation instructions alongside Ubuntu (#4501)
**PR Description** This PR updates the README to include installation instructions for Debian. * Renames the "Ubuntu" section to "Debian and Ubuntu" * Adds the `sudo apt install lazygit` for Debian Trixie, Sid, and Ubuntu 25.10 and later * Keeps the manual installation method for Debian Bookworm, Ubuntu 25.04 and earlier This helps Debian and Ubuntu users install lazygit using either apt or manual download, depending on the distribution version. **Affected files** * Documentation * `README.md`: Renames the "Ubuntu" section to "Debian and Ubuntu" and adds Debian installation instructions **Requirements fulfilled by this PR** * [x] Cheatsheets are up-to-date (run `go generate ./...`) * [x] Code has been formatted (see [here](https://github.com/jesseduffield/lazygit/blob/master/CONTRIBUTING.md#code-formatting)) * [x] Docs have been updated if necessary * [x] You've read through your own file changes for silly mistakes etc
2 parents 7c2063c + 9e90d5e commit 2b43f5b

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

README.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ If you're a mere mortal like me and you're tired of hearing how powerful git is
8888
- [Arch Linux](#arch-linux)
8989
- [Fedora and RHEL](#fedora-and-rhel)
9090
- [Solus Linux](#solus-linux)
91-
- [Ubuntu](#ubuntu)
91+
- [Debian and Ubuntu](#debian-and-ubuntu)
9292
- [Funtoo Linux](#funtoo-linux)
9393
- [Gentoo Linux](#gentoo-linux)
9494
- [FreeBSD](#freebsd)
@@ -306,7 +306,15 @@ sudo dnf install lazygit
306306
sudo eopkg install lazygit
307307
```
308308

309-
### Ubuntu
309+
### Debian and Ubuntu
310+
311+
For **Debian 13 "Trixie", Sid**, and later, or **Ubuntu 25.10 "Questing Quokka"** and later:
312+
313+
```sh
314+
sudo apt install lazygit
315+
```
316+
317+
For **Debian 12 "Bookworm", Ubuntu 25.04 "Plucky Puffin"** and earlier:
310318

311319
```sh
312320
LAZYGIT_VERSION=$(curl -s "https://api.github.com/repos/jesseduffield/lazygit/releases/latest" | \grep -Po '"tag_name": *"v\K[^"]*')

0 commit comments

Comments
 (0)