# Installation of Node.js and NPM in Alma Linux

## **Install Node.js and NPM**

## **Prerequisites:-**

To follow this guide, you will need an Alma Linux setup

Install Node from the EPEL Repository

### Update && upgrade server

```
yum update -y && yum upgrade -y
```

### Accessing the EPEL Repository

To access the Extra Packages for Enterprise Linux (EPEL) repository, you need to adjust your system's repository settings. This can be easily done by installing the `epel-release` package from your current repositories. This package configures your system to access the EPEL repo.

```
sudo yum install epel-release -y
```

<figure><img src="/files/owZQ29NRAAicOlEIjmNc" alt=""><figcaption></figcaption></figure>

### Install Nodejs

Having added the EPEL repository, you can now install Node.js via your standard `yum` commands:

```
sudo yum install nodejs -y
```

<figure><img src="/files/bz0PgyskD6JehQ6hyJyo" alt=""><figcaption></figcaption></figure>

To confirm the installation was successful, you can ask Node to display its version number:

```
node --version 
```

<figure><img src="/files/M6kKwfCVjP65myecBPVS" alt=""><figcaption></figcaption></figure>

### Install NPM

To manage Node packages, you'll likely need **npm**, which can be installed from EPEL with the following command:

```
sudo yum install npm -y
```

<figure><img src="/files/p87WURpiK1r9OsnShZCZ" alt=""><figcaption></figcaption></figure>

To confirm the installation was successful, you can ask **npm** to display its version number:

```
npm --version
```

<figure><img src="/files/yVZOEQgCVZilwJtpC6bl" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.neevcloud.com/neevcloud-guide/neevcloud-knowledgebase/install-node.js-and-npm-on-linux/installation-of-node.js-and-npm-in-alma-linux.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
