npm revert to older version code example Example: revert npm version npm install -g [email protected]