1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-04-25 12:24:47 +02:00

Add NixOs installation instructions to README.md (#3249)

Extend README.md with instructions on how to try and install the lazygit
on NixOs.
This commit is contained in:
Stefan Haller 2024-03-19 12:38:20 +01:00 committed by GitHub
commit fadc2893d2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -345,6 +345,20 @@ sudo zypper ar https://download.opensuse.org/repositories/devel:/languages:/go/$
sudo zypper ref && sudo zypper in lazygit
```
### NixOs
On NixOs lazygit is packaged with nix and distributed via nixpkgs.
You can try the lazygit without installing it with:
```sh
nix-shell -p lazygit
# or with flakes enabled
nix run nixpkgs#lazygit
```
Or you can add lazygit to you configuration.nix in the environment.systemPackages section.
More details can be found via NixOs search [page](https://search.nixos.org/).
### FreeBSD
```sh