Code Environments

Code environment basic and required setup for your project or new machine.

Package Managers Setup Guide

Node Version Manager (nvm)

Manage multiple Node.js versions on your system

Installation

curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.0/install.sh | bash

Verify Installation

nvm --version
Official Documentation →

Node Package Manager (npm)

Default package manager for Node.js

Installation

comes with Node.js installation

Verify Installation

npm --version
Official Documentation →

Yarn

Fast, reliable, and secure dependency management

Installation

npm install -g yarn

Verify Installation

yarn --version
Official Documentation →