Upgrading to 7 from 6 on linux removes npm

I am runnng mint linux 20.
Output below

$ node -v
v14.17.5
$ npm -v
6.14.14
$ sudo npm install -g npm@7
npm ERR! code EEXIST
npm ERR! path /usr/lib/node_modules/npm/node_modules/.bin/semver
npm ERR! Refusing to delete /usr/lib/node_modules/npm/node_modules/.bin/semver: …/semver/bin/semver.js symlink target is not controlled by npm /usr/lib/node_modules/npm/node_modules/semver
npm ERR! File exists: /usr/lib/node_modules/npm/node_modules/.bin/semver
npm ERR! Remove the existing file and try again, or run npm
npm ERR! with --force to overwrite files recklessly.

npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2021-08-13T07_07_33_415Z-debug.log
$ node -v
v14.17.5
$ npm -v
bash: /usr/bin/npm: No such file or directory

So how can I upgrade to npm 7 on linux?

Regards