I\'ve been using NVM to install the latest versions of nodeJS for my node work. It works totally fine for installing separate versions and switching between them. It also in
What about npm i -g npm? Did you try to run this as well?
npm i -g npm