How to Install Nodejs on Ubuntu 23.04

Apr 24, 2023 · 1 min read · Post a comment

There are several ways to install Node.js on Ubuntu 23.04. One way is to use the Ubuntu repository. Another way is to use the NodeSource repository, which provides an easy-to-use bash script for installing the latest version of Node.js. I will show you the latter.


  • Ubuntu 23.04
  • sudo privileges

Install Nodejs on Ubuntu 23.04

Step 1. Update the package index by running the following command.

sudo apt update

Step 2. Install the nodejs package.

curl -sL | sudo -E bash -
sudo apt-get install nodejs

Step 3. Verify the installation.

node --version


Feel free to leave a comment below and if you find this tutorial useful, follow our official channel on Telegram.