Skip to content

Commit

Permalink
Add NixOs installation instructions to README.md (jesseduffield#3249)
Browse files Browse the repository at this point in the history
Extend README.md with instructions on how to try and install the lazygit
on NixOs.
  • Loading branch information
stefanhaller authored Mar 19, 2024
2 parents 1d4448d + 1e59de2 commit fadc289
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fadc289

Please sign in to comment.