Skip to content
Knowledge Base

Retrieve and Execute the Installation Script

Install Node.js and npm Verify the Installation

Updated 1 min readLinux

bash
curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash -

Install Node.js and npm

bash
sudo apt-get install -y nodejs

Verify the Installation

bash
node version
npm nversion

(Link)[https://zahiralam.com/blog/installing-node-js-20-x-on-ubuntu-24-04-lts-a-comprehensive-guide/]

linux/ubuntu/how-to-install-node-20.md