Skip to the content.

Node.js

Node.js is an open-source, cross-platform JavaScript runtime environment that allows developers to build server-side and networking applications. It uses an event-driven, non-blocking I/O model, making it lightweight and efficient, perfect for building scalable web applications.

Features

Installaing Node.js with NVM

NVM is a Node.js version manager. It allows you to install and switch between different versions of Node.js. To see what is the latest version, visit nvm-sh on Github.

# install nvm
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
# start nvm
source ~/.bashrc
# list remote versions
nvm ls-remote
# install latest node version
nvm install node  # "node" is an alias for the latest version
nvm use v20.11.0 # if you want to use specific version
nvm use v20.11.0 --default # if you want to use specific version as default

Documentation

The official Node.js documentation provides comprehensive guides, APIs reference, and tutorials. You can access it here.