DEV Community

miku86
miku86

Posted on • Updated on

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

  1. Go to the NodeJS download page and click on Windows Installer
  2. Go through the Installer

macOS

  1. Go to the NodeJS download page and click on macOS Installer
  2. Go through the Installer

Ubuntu

  1. curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -
  2. sudo apt-get install -y nodejs

Arch

  1. pacman -S nodejs npm

Further Reading

NodeJS Homepage
NodeJS Documentation
NodeJS on Wikipedia
npm

Top comments (0)