how to see if npm is installed windows code example Example 1: find npm version npm --version Example 2: get local node version node --version