Skip to content

Commit b26fea1

Browse files
author
Myles Borins
committed
doc: add copy about how to curl SHA256.txt
Currently we include instructions on how to check the sha of a downloaded tar-ball, but do not include instruction on how to get the `SHA256.txt` file. This has led to confusion with people thinking that the SHA256.txt is included in that tarball. This commit includes instructions on how to use curl to download the `SHA256.txt` prior to the instructions on how to verify the sha. Refs: nodejs/help#113 Refs: nodejs/help#137 PR-URL: #6120 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent daaad47 commit b26fea1

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

README.md

+9-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,15 @@ documentation of the latest stable version.
7070

7171
Stable, LTS and Nightly download directories all contain a *SHASUM256.txt*
7272
file that lists the SHA checksums for each file available for
73-
download. To check that a downloaded file matches the checksum, run
73+
download.
74+
75+
The *SHASUM256.txt* can be downloaded using curl.
76+
77+
```
78+
$ curl -O https://nodejs.org/dist/vx.y.z/SHASUMS256.txt
79+
```
80+
81+
To check that a downloaded file matches the checksum, run
7482
it through `sha256sum` with a command such as:
7583

7684
```

0 commit comments

Comments
 (0)