42
Technology

Nodejs

Node.js is a JavaScript environment. Node.js makes it possible to run JavaScript code outside of a web browser, for example, on servers or on the terminal.

Code Example:

// install node on mac
brew update
brew install

// update node to latest version
brew update
brew upgrade node

// check installed node version
node --version

// output example
v12.18.3