验证 Node.js 安装程序的 SHA256。

作者: wxww0110创建于 2025年11月22日更新于 2025年11月22日

Versions change, but this link always points to the latest LTS 24.x version: https://nodejs.org/download/release/latest-v24.x/ Within that folder, there is the file: SHASUMS256.txt The PowerShell command to check the hash (Windows): > Get-FileHash '.\node-vXX.X.X-x64.msi' -Algorithm SHA256 The Terminal command to check the hash (Linux): > sha256sum node-vXX.X.X-linux-x64.tar.gz The Terminal command to check the hash (macOS): > shasum -a 256 node-vXX.X.X.pkg Just replace XX.X.X with the downloaded version. This can help students verify the integrity of the installer before using it.

内容来源: mouredev/hello-javascript