npm Community Forum (Archive)

The npm community forum has been discontinued.

To discuss usage of npm, visit the GitHub Support Community.

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

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??
npm


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


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