mirror of
https://github.com/schollz/croc.git
synced 2025-10-10 21:01:02 +02:00
Update README.md
Added nix-shell and NixOS install instructions
This commit is contained in:
parent
dcf879b836
commit
a2c3037f7f
1 changed files with 11 additions and 1 deletions
12
README.md
12
README.md
|
@ -68,7 +68,7 @@ choco install croc
|
|||
winget install schollz.croc
|
||||
```
|
||||
|
||||
### On Unix
|
||||
### Using nix-env
|
||||
|
||||
You can install the latest release with [Nix](https://nixos.org/):
|
||||
|
||||
|
@ -76,6 +76,16 @@ You can install the latest release with [Nix](https://nixos.org/):
|
|||
nix-env -i croc
|
||||
```
|
||||
|
||||
### On NixOS
|
||||
|
||||
You can add this to your [configuration.nix](https://nixos.org/manual/nixos/stable/#ch-configuration):
|
||||
|
||||
```nix
|
||||
environment.systemPackages = [
|
||||
pkgs.croc
|
||||
];
|
||||
```
|
||||
|
||||
### On Alpine Linux
|
||||
|
||||
First, install dependencies:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue