Tuesday 24 September 2019

NodeJS install failed on remote linux server

I am using Putty, I extracted and renamed nodejs but after installing with as below it none of the commands will work, node and node -version are unrecognised.mkdir ~/bincp nodejs/bin/node ~/bincd ~/bin ln -s ../nodejs/lib/node_modules/npm/bin/npm-cli.js npmHow can I fix this?I wanted to install node so I could install and write angular apps which worked fine on Windows but my server runs on Linux. I am running on a user shell.

Submitted September 24, 2019 at 12:39PM by 0amethyst

No comments:

Post a Comment