I am using npm v5.3.0. Now I want to update npm to v5.4.1.To do this I type the following in my terminal:
npm install -g npm
without any errors.However when I type npm -v
the version I get is the 5.3.0 not the 5.4.1
I have to mention that I have changed the npm prefix to another directory. Any ideas? I use Ubuntu 17.04