Node.js
Node.js is an open-source, cross-platform JavaScript run-time environment for executing JavaScript code server-side. Historically, JavaScript was used primarily for client-side scripting, in which scripts written in JavaScript are embedded in a webpage’s HTML, to be run client-side by a JavaScript engine in the user’s web browser. Node.js enables JavaScript to be used for server-side scripting, and runs scripts server-side to produce dynamic web page content before the page is sent to the user’s web browser.
Consequently, Node.js has become one of the foundational elements of the “JavaScript everywhere” paradigm,[5] allowing web application development to unify around a single programming language, rather than rely on a different language for writing server side scripts. (source: Wikipedia)
Installing Node.js
Here at CodeClub we are using the LTS version (6.11.2) of Node.
Quick Install:
- MacOS
- Linux
- Debian/Ubuntu:
curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -
sudo apt-get install nodejs
sudo apt-get install -y build-essential
- Arch:
pacman -S nodejs npm
- Fedora:
curl --silent --location https://rpm.nodesource.com/setup_6.x | sudo bash -
sudo yum -y install nodejs
- Download: tar.xz (64-bit)(32-bit)
- Debian/Ubuntu:
- Windows
Source: