node-gyp version check code example Example 1: node-gyp npm install -g node-gyp Example 2: node-gyp npm install -g node-gyp node-pre-gyp