@@ -148,6 +148,14 @@ This should work with the following distributions:
148148- FreeBSD
149149- MacOS
150150
151+### Via nix
152+
153+You can install `bat` using the [nix package manager](https://nixos.org/nix):
154+
155+```bash
156+nix-env -i bat
157+```
158+
151159### On macOS
152160
153161You can install `bat` with [Homebrew](http://braumeister.org/formula/bat):
@@ -318,7 +326,7 @@ or by setting `BAT_PAGER` to an empty string.
318326
319327### Cygwin
320328
321−`bat` on Windows does not natively support Cygwin's unix-style paths (`/cygdrive/*`). When passed an absolute cygwin path as an argument, `bat` will encounter the following error: `The system cannot find the path specified. (os error 3)`
329+`bat` on Windows does not natively support Cygwin's unix-style paths (`/cygdrive/*`). When passed an absolute cygwin path as an argument, `bat` will encounter the following error: `The system cannot find the path specified. (os error 3)`
322330
323331This can be solved by creating a wrapper or adding the following function to your `.bash_profile` file:
324332