NodeJS: What is it & How To Install it
What is NodeJS?
- a run-time environment that executes JavaScript code outside of a browser
- has an event-driven architecture capable of asynchronous I/O, therefore used in many real-time web applications, e.g. chat applications
- two main use cases: server-side scripts & command line tools
- no need to learn two languages to write fullstack applications
- has a big ecosystem
How To Install it?
Windows
- Go to the NodeJS download page and click on
Windows Installer
- Go through the Installer
macOS
- Go to the NodeJS download page and click on
macOS Installer
- Go through the Installer
Ubuntu
curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -
sudo apt-get install -y nodejs
Arch
pacman -S nodejs npm
Further Reading