Node.js is an open-source, cross-platform runtime environment that lets you run JavaScript on the server side. Built on Google’s V8 engine, it uses a non-blocking, event-driven architecture for efficient handling of simultaneous requests.
Node.js is known for its speed and scalability and is ideal for web applications, APIs, real-time systems like chats, and streaming services.
In Hostman Marketplace, you can install Node.js on Ubuntu versions 18.04, 20.04, and 22.04. We recommend choosing Ubuntu 20.04 or 22.04 to get the latest Node.js version. For 18.04, we will use an older version for Node.js (v16.20.2).
When you select the Node.js image, we will install the following packages on your server:
Software |
Version |
|
Latest LTS version |
|
Latest version available in the OS repositories |
|
Latest version |
We will also perform a basic setup:
To install Node.js on your server:
Your server will be online in a couple of minutes. You can navigate to the server IP address in the browser to make sure the sample app works. If everything is installed correctly, you will see a simple "It works!" message.
To connect to the server via SSH, run:
root@<your server IP address>