1
1
Fork 0
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:
WyFi 2025-07-18 00:12:19 +00:00 committed by GitHub
parent dcf879b836
commit a2c3037f7f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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: