'version 6.4.1 of npm is not being been installed

I am in an Angular project in Ubuntu 21.04 in which I need version 10.13.0 of node but when I install it with nvm it comes without npm. I have been testing previous versions and all of them also come without npm at least until version 10.10.0 where they should all come with version 6.4.1 of npm. When I run:

nvm ls

this is the output:

    v10.9.0
   v10.11.0
   v10.12.0
   v10.13.0
   v15.10.0
   v16.13.2
    v17.4.0


default -> v10.7.0 (-> N/A)
iojs -> N/A (default)
unstable -> N/A (default)
node -> stable (-> v17.4.0) (default)
stable -> 17.4 (-> v17.4.0) (default)
lts/* -> lts/gallium (-> v16.13.2)
lts/argon -> v4.9.1 (-> N/A)
lts/boron -> v6.17.1 (-> N/A)
lts/carbon -> v8.17.0 (-> N/A)
lts/dubnium -> v10.24.1 (-> N/A)
lts/erbium -> v12.22.10 (-> N/A)
lts/fermium -> v14.19.0 (-> N/A)
lts/gallium -> v16.13.2

Is this due to a particular problem with version 6.4.1 of npm??



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source