- Sep 30, 2018
- admin
- 0
Setup Node.js Development Environment:
Node.js is a cross-platform environment which means that it can run on various platforms like, Windows, Linux, Unix, Mac OS X, etc.
Download and Install Node.js for Windows:
- Download the latest version of Node.js from https://nodejs.org.
- Accept the terms of license agreement.
- Choose the location where you want to install the nodejs files.
- Node.js is now ready to install.
Download and Install Node.js for Linux:
- Open the Terminal of your computer.
- Type command “sudo apt-get install python-software-properties” and press Enter.
- Type the admin Password and press Enter.
- Type command “sudo apt-add-repository ppa:chris-lea/node.js” and press Enter.
- Again Press Enter to continue.
- Type command “sudo apt-get update” and press Enter.
- Type command “sudo apt-get install nodejs npm” and press Enter.
- Type command “sudo apt-get install nodejs” and press Enter.
- Node.js is successfully installed.
Text Editor:
An IDE or a text editor tool like Visual Studio, Sublime text, Eclipse, etc. is also an important requirement for a complete setup of Node.js development environment. A Node.js file can be created using a text editor and is saved with a “.js” extension as Node.js uses javascript for programming.