> For the complete documentation index, see [llms.txt](https://docs.ashhost.in/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ashhost.in/vps/install-nodejs-on-ubuntu-20.04.md).

# Install NodeJS on Ubuntu 20.04

#### Step 1 - Update Your VPS

```
$ sudo apt-get update
```

#### Step 2 - Install Node

```
$ curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash | sudo apt-get install -y nodejs
```

#### Step 3 - Check the Version Number of Node

To ensure that Node.js version 14.x are installed, make sure you check the version number of Node.

```
$ nodejs -v
```
