(through https://rustup.rs)
hyperfine --warmup=1 'cargo install -f ripgrep@14.1.0'nix-shell -p cargo hyperfine --run "hyperfine --warmup=1 'cargo install -f ripgrep@14.1.0'"This won't be quite as comparable, hyperfine is really great for benchmarking, but if you only have cargo, just run the install twice:
cargo install -f ripgrep@14.1.0 && cargo install -f ripgrep@14.1.0
Minisforum 890Pro - 8s