Syntax error: newline unexpected node.js rpm

Viewed 7401

I am running node.js on my Linux Debian server and am having problems running a .sh script trying to install RPM.

The command is:
curl http://npmjs.org/install.sh | sh

The script is a supported install RPM package.

-bash: sh: Syntax error: newline unexpected

Can anyone help me fix this?

2 Answers
Related