check npm version windows 10 code example
Example 1: check node version
node --version
//or
node -v
//v12.15.0
Example 2: npm latest version windows
npm-windows-upgrade --npm-path "C:\nodejs"
node --version
//or
node -v
//v12.15.0
npm-windows-upgrade --npm-path "C:\nodejs"