Skip to content

Commit

Permalink
nix-env -> nix-shell
Browse files Browse the repository at this point in the history
please don't recommend `nix-env` any more
  • Loading branch information
fricklerhandwerk committed Jan 28, 2024
1 parent b5fcd08 commit 02de6e6
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,20 +31,19 @@ camlistore.out 7,938,952 x /nix/store/xn5ivjdyslx

### Latest Git version

To install the latest development version of nix-index, simply clone the repo and run `nix-env -if.`:
To run the latest development version of nix-index:

```
$ git clone https://github.com/nix-community/nix-index
$ cd nix-index
$ nix-env -if.
$ nix-shell https://github.com/nix-community/nix-index/tarball/master
[nix-shell]$ nix-locate bin/hello
```

### Stable

For the stable version, you can either [checkout](https://git-scm.com/docs/git-checkout) the latest [tag](https://git-scm.com/docs/git-tag) (see the list [here](https://github.com/nix-community/nix-index/tags)) or use Nixpkgs' repositories' and install it with:
For the stable version, you can either [checkout](https://git-scm.com/docs/git-checkout) the latest [tag](https://git-scm.com/docs/git-tag) (see the list [here](https://github.com/nix-community/nix-index/tags)) or use Nixpkgs' repositories' and make it available with:

```
$ nix-env -iA nixos.nix-index
$ nix-shell https://github.com/nix-community/nix-index/tarball/v0.1.7
```

## Usage
Expand Down

0 comments on commit 02de6e6

Please sign in to comment.