>_ linuxcommand.dev
Startseite nix-hash
Tools

nix-hash

Calculate hash values for files.

NixOS
Verified: 2026-05-10
Syntax
$nix-hash [OPTIONS] FILE
Examples
$nix-hash file.txt
$nix-hash --base32 file.txt
$nix-hash --truncate file.txt
Typical use cases
?
Standard usage
nix-hash --help
Note Calculates hash values in Nix format.
Export