Skip to content

JavaScript

Andrei Montchik edited this page May 26, 2026 · 16 revisions

Node.js

Website

Installation

  1. Obtain an info about the latest stable version on the Node.js website.
  2. Install the latest stable nvm: curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.4/install.sh | bash
  3. Restart terminal and check the nvm installation: nvm --version
  4. Install the desired NodeJS version:
    • nvm install 24
    • or create the .nvmrc file and specify the required NodeJS version in it: nvm use; nvm install
  5. Check the NodeJS: node --version

Upgrade Dependencies

  1. npm outdated
  2. rm -rf node_modules
  3. rm package-lock.json
  4. npm install
  5. rm -rf dist
  6. npm run build

TypeScript

Installation

  1. Install TypeScript: npm install -D typescript tsx
  2. Verify the TypeScript installation: npx tsc -v

Clone this wiki locally