doc: changed the command used to verify SHASUMS256

PR-URL: https://github.com/nodejs/node/pull/55420
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com>
This commit is contained in:
adriancuadrado 2024-10-23 14:06:41 +02:00 committed by GitHub
parent 025d8ada5f
commit c1bbd63458
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -104,11 +104,10 @@ To download `SHASUMS256.txt` using `curl`:
curl -O https://nodejs.org/dist/vx.y.z/SHASUMS256.txt curl -O https://nodejs.org/dist/vx.y.z/SHASUMS256.txt
``` ```
To check that a downloaded file matches the checksum, run To check that downloaded files match the checksum, use `sha256sum`:
it through `sha256sum` with a command such as:
```bash ```bash
grep node-vx.y.z.tar.gz SHASUMS256.txt | sha256sum -c - sha256sum -c SHASUMS256.txt --ignore-missing
``` ```
For Current and LTS, the GPG detached signature of `SHASUMS256.txt` is in For Current and LTS, the GPG detached signature of `SHASUMS256.txt` is in