summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorSerg Nesterov <i.am.cust0dian@gmail.com>2020-08-04 13:57:17 +0300
committerSerg Nesterov <i.am.cust0dian@gmail.com>2020-08-04 14:06:10 +0300
commit57834cd1e3816842ddcde3fa58ef22bd4eb5af6c (patch)
tree922f96a3b63c639accc39b3143965e4ec97c5b3a /README.md
parent231f9775ba4ef523514a1eb4499d2eefcb025c69 (diff)
Add instructions on installing with nix
Diffstat (limited to 'README.md')
-rw-r--r--README.md11
1 files changed, 9 insertions, 2 deletions
diff --git a/README.md b/README.md
index 5297cf4..c8e2336 100644
--- a/README.md
+++ b/README.md
@@ -19,7 +19,8 @@ Table of contents
-----------------
* [Installation](#installation)
- * [Using Homebrew or Linuxbrew](#using-homebrew-or-linuxbrew)
+ * [Using Homebrew or Linuxbrew](#using-homebrew-or-linuxbrew-)
+ * [Using nix](#using-nix-)
* [Using cargo](#using-cargo)
* [Using install script](#using-install-script)
* [Downloading pre-compiled binaries](#downloading-pre-compiled-binaries)
@@ -48,12 +49,18 @@ Table of contents
Installation
------------
-### Using [Homebrew](http://brew.sh/) or [Linuxbrew](http://linuxbrew.sh/)
+### Using [Homebrew](http://brew.sh/) or [Linuxbrew](http://linuxbrew.sh/) [![Homebrew](https://repology.org/badge/version-for-repo/homebrew/navi.svg?header=homebrew)](https://formulae.brew.sh/formula/navi)
```sh
brew install navi
```
+### Using [nix](https://nixos.org/) [![nixpkgs unstable](https://repology.org/badge/version-for-repo/nix_unstable/navi.svg?header=nixpkgs%20unstable)](https://nixos.org/nixos/packages.html?attr=navi&channel=nixpkgs-unstable)
+
+```sh
+nix-env -iA nixpkgs.navi
+```
+
### Using [cargo](https://github.com/rust-lang/cargo)
```bash