npm install get latest version code example Example: npm get latest version of package npm show {pkg} version