Upgrade to the new but the version show always an old version

(Emmadal) #1

Hello today i have tried to upgrade npm@6.4.1 to npm@6.5.0, i have do the below command
npm i -g npm@latest
once this command of uprade was successfull, i’ve tried to show the version but when i do the npm -v i get always the 6.4.0 version. How resolve it??

(Lars Willighagen) #2

Can you run which npm and readlink -f /usr/bin/npm?

(Emmadal) #3

I have do and it work well.
my npm version is6.5.0
THank you very much

(system) #4

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.