Skip to content

What is Node.js?

Course: Node.js Runtime - chapter 1

Node.js is an open-source JS runtime that allows you to execute JavaScript code on the server side. It’s built on Chrome’s V8 JavaScript engine.

Code - https://github.com/nodejs/node

The environment where JavaScript code is executed. It could be

  1. On the server
  2. In the browser
  3. On a small watch …

The V8 engine is an open-source JavaScript engine developed by Google. It is used to execute JavaScript code in various environments, most notably in the Google Chrome web browser.

Mozilla has their own JS engine - SpiderMonkey

Safari - JavaScriptCore

https://www.digitalocean.com/community/tutorials/how-to-install-node-js-on-ubuntu-22-04

  • Build from source
  • Using a package manager (brew, chocolat)
  • Using nvm

If you’re on windows, download git bash at the very least