Download
nix-prefetch-url
Download URL and insert into store.
NixOS
Verified: 2026-05-10
Syntax
$nix-prefetch-url URL
Examples
$nix-prefetch-url https://example.com/file.tar.gz
$nix-prefetch-url --name custom-name https://...
Typical use cases
?
Standard usage
nix-prefetch-url --help
Note
Downloads files and inserts them into Nix store.
Export