npm-version Get the npm version of the running system. var npmVersion = require('npm-version'); npmVersion(function out(err, version) { console.log(version); // outputs your current npm version});