how to upgrade or downgrade npm version code example Example: revert npm version npm install -g [email protected]