

By that I mean install should be put in a place like /usr/bin, so that all users have access. I want a GLOBAL install of node and npm on AWS. Why mess with installers that break or don't put things where I want them? Such were the problems encountered while installing *node.js" on Amazon Web Services, that a manual install was the easy way to get the result I wanted. Now access URL in the browser.I did it manually. Therefore the web server has been started on port 3000. Now start the web server using the command. Create a file demo_server.js vim demo_server.jsĪnd add the following content var http = require('http') Let’s create a web server with the “Welcome Node.js” text. If you want to test your node.js install.

Step 4 – Create Demo Web Server (Optional) You can find more details about the current version on node.js official website.

To install the specific Node.js version, Visit our tutorial Install Specific Node.Js Version with NVM.
