diff options
author | Serg Nesterov <i.am.cust0dian@gmail.com> | 2020-08-04 13:57:17 +0300 |
---|---|---|
committer | Serg Nesterov <i.am.cust0dian@gmail.com> | 2020-08-04 14:06:10 +0300 |
commit | 57834cd1e3816842ddcde3fa58ef22bd4eb5af6c (patch) | |
tree | 922f96a3b63c639accc39b3143965e4ec97c5b3a /README.md | |
parent | 231f9775ba4ef523514a1eb4499d2eefcb025c69 (diff) |
Add instructions on installing with nix
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 11 |
1 files changed, 9 insertions, 2 deletions
@@ -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 |