npm install npm -g won't update npm to the latest version -


i using npm v5.3.0. want update npm v5.4.1.to type following in terminal:

npm install -g npm

without errors.however when type npm -v version 5.3.0 not 5.4.1

i have mention have changed npm prefix directory. ideas? use ubuntu 17.04

that's console output : enter image description here

to upgrade, run: sudo npm install npm@latest -g

the npm module available download @ https://registry.npmjs.org/npm/-/npm-{version}.tgz.


Comments

Popular posts from this blog

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -