I get the same result if I try to install with curl or sh install
$curl -L https://www.npmjs.com/install.sh | sh
% Total % Received % Xferd Average Speed Time Time Time
Current
Dload Upload Total Spent Left
Speed
100 3755 100 3755 0 0 35424 0 --:--:-- --:--:-- --:--:-- 35424
fetching: https://registry.npmjs.org/npm/-/npm-6.14.8.tgz
removing existing npm
failed!
sh install
$sh install.sh
fetching: https://registry.npmjs.org/npm/-/npm-6.14.8.tgz
removing existing npm
failed!
as you can see it's not installed
$npm -version
bash: /usr/bin/npm: /usr/bin/nodejs: bad interpreter: No such file or
directory
$ node -v
v16.0.0-pre