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