New virtual server/New Node.js install/npm will not run.

I been having issues getting node.js to run on this server. So I setup a new website and only installed node.js though the install scripts. When I run npm using sudo I get the following. Since I am not familiar with node, I will just claim that I am a noob.

[root@server nodejs]# cd bin
[root@server bin]# ls
node npm npx
[root@server bin]# su npm
npm: line 2: syntax error near unexpected token ;' npm: line 2: ;(function () { // wrapper in case we’re in module_context mode’

[root@server nodejs]# cd bin
[root@server bin]# su npm install
npm: line 2: syntax error near unexpected token ;’
npm: line 2:;(function () { // wrapper in case we’re in module_context mode’

Cleaned up the information from the screen.