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
to upgrade, run: sudo npm install npm@latest -g
the npm module available download @ https://registry.npmjs.org/npm/-/npm-{version}.tgz.
Comments
Post a Comment