To be able to updated NPM first make sure node is installed and added to your tool-versions or set a local / global version of nodejs.
You can set a version locally using:
asdf local package version
Or globally through:
asdf global package version
You can validate that npm and nodes are being run by asdf by running the command:
And that will print the working directory of the executable, which should have asdf in the path if you’re using npm through asdf. Something like:
If you have nodejs installed through asdf and a version set, you can then install a different version of npm with the
npm install command:
npm install -g email@example.com
After that completes you will want to reshim:
No you should be ready to work.