1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-02-15 14:03:06 +02:00

docs(readme): Added lazygit install method on ubuntu

This commit is contained in:
Yofre Ormaza 2022-08-18 14:43:38 -05:00
parent ef82f39431
commit 67d6b69115

View File

@ -42,6 +42,7 @@ If you're a mere mortal like me and you're tired of hearing how powerful git is
- [Arch Linux](#arch-linux) - [Arch Linux](#arch-linux)
- [Fedora and RHEL](#fedora-and-rhel) - [Fedora and RHEL](#fedora-and-rhel)
- [Solus Linux](#solus-linux) - [Solus Linux](#solus-linux)
- [Ubuntu](#ubuntu)
- [Funtoo Linux](#funtoo-linux) - [Funtoo Linux](#funtoo-linux)
- [FreeBSD](#freebsd) - [FreeBSD](#freebsd)
- [Conda](#conda) - [Conda](#conda)
@ -146,6 +147,26 @@ sudo dnf install lazygit
sudo eopkg install lazygit sudo eopkg install lazygit
``` ```
### Ubuntu
```sh
LAZYGIT_VERSION=$(curl -s "https://api.github.com/repos/jesseduffield/lazygit/releases/latest" | grep -Po '"tag_name": "v\K[0-35.]+')
```
```sh
curl -Lo lazygit.tar.gz "https://github.com/jesseduffield/lazygit/releases/latest/download/lazygit_${LAZYGIT_VERSION}_Linux_x86_64.tar.gz"
```
```sh
sudo tar xf lazygit.tar.gz -C /usr/local/bin lazygit
```
Verify the correct installation of lazygit:
```sh
lazygit --version
```
### Funtoo Linux ### Funtoo Linux
Funtoo Linux has an autogenerated lazygit package in [dev-kit](https://github.com/funtoo/dev-kit/tree/1.4-release/dev-vcs/lazygit): Funtoo Linux has an autogenerated lazygit package in [dev-kit](https://github.com/funtoo/dev-kit/tree/1.4-release/dev-vcs/lazygit):