-
Notifications
You must be signed in to change notification settings - Fork 0
JavaScript
Andrei Montchik edited this page May 26, 2026
·
16 revisions
- Obtain an info about the latest stable version on the Node.js website.
- Install the latest stable nvm:
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.4/install.sh | bash - Restart terminal and check the nvm installation:
nvm --version - Install the desired NodeJS version:
nvm install 24- or create the
.nvmrcfile and specify the required NodeJS version in it:nvm use; nvm install
- Check the NodeJS:
node --version
npm outdatedrm -rf node_modulesrm package-lock.jsonnpm installrm -rf distnpm run build
- Install TypeScript:
npm install -D typescript tsx - Verify the TypeScript installation:
npx tsc -v