npm command in windows code example Example 1: find npm version npm --version Example 2: get local node version node --version