Skip to content

Commit

Permalink
Merge pull request #372 from cust0dian/docs/add-nix
Browse files Browse the repository at this point in the history
Add instructions on installing with nix
  • Loading branch information
denisidoro authored Aug 5, 2020
2 parents f071f85 + 57834cd commit ca1ff03
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit ca1ff03

Please sign in to comment.