How to install npm ubuntu

How to install npm ubuntu

How to Install Node.js and NPM on Ubuntu 18.04

сентября 27, 2019 • Atta ✨

Node.js is an open-source, cross-platform, asynchronous JavaScript run-time environment that executes JavaScript code on the server-side. This means that you can run JavaScript code on the server as a standalone application without involving any browser. Node.js is designed to develop high-performance and scalable network applications.

The main strength of Node.js lies in an event-driven, non-blocking I/O model that makes it lightweight and efficient.

Node Package Manager (NPM) is the default package manager for Node.js and the largest ecosystem of open source libraries in the world.

In this article, you will learn how to install Node.js and NPM on Ubuntu 18.04. The same instructions apply for any Ubuntu-based distribution like Kubuntu, Linux Mint, and Elementary OS.

There are several ways to install Node.js on a Ubuntu 18.04 server depending on your environment and needs. Here we will show you the three simplest and most efficient ways.

Prerequisites

Installing Node.js and NPM from Ubuntu Repository

The simplest and fastest way to install Node.js and npm on a Ubuntu 18.04 server is through the official distribution repository. Both Node.js and npm packages are included in default Ubuntu repositories.

At the time of writing this article, the Node.js version included in the Ubuntu repositories is 8.10.0 which is the last LTS version.

To install this version, you can use the apt package manager. Let us start with refreshing the local package index by running the following command:

Next, execute the following command to install Node.js and npm:

That’s it. You have successfully installed both Node.js and npm on your Ubuntu 18.04 server.

You can now check which versions of Node.js and npm are installed by typing:

You will see the following output:

Although the Node.js version installed through this method is not the latest LTS release, this is the easiest and faster way of getting started with Node.js and npm.

Installing Node.js and NPM using NVM

Ab alternative to installing Node.js through apt package manager is to use NVM (Node Version Manager) tool. NVM is a bash script that is used to install and manage multiple Node.js versions on the same machine.

Through NVM, you can quickly add or remove any Node.js version to your Ubuntu 18.04 machine — something really helpful for testing the code on a specific Node.js version. You can easily switch between an LTS version and the latest available release.

Follow the below steps to install Node.js and npm through NVM.

Step 1 — Install NVM Script

Let us download and install the NVM script by running the following command:

The above command will copy the NVM repository contents from GitHub to the

/.nvm directory on your local file system. It will also update your

The next step is to either log out and log back in or load the changes made to your bash profile by using the source command:

Once the NVM installation is completed and the script is added to your PATH variable, you can verify it by tying the following:

You should see the following output:

Step 2 — Install Node.js and NPM

With NVM installed, you can install the latest Node.js version by running the following command:

The output should look something like below:

Verify the installation by typing:

You should see the following output:

The above command will install and switch to the latest TLS version which is v10.16.3 at the time of writing. You should always use this version in a production environment for the sake of stability and support.

To list all the available Node.js versions that you can install, type the following:

Here is how the list looks like (I have omitted the older versions):

Feel free to choose the one you want from the above list.

Let us install one more Node.js version — the previous LTS version 8.10.0 :

NVM will automatically switch to the most recently installed version. You can list all the installed versions by typing:

The output should look something like below:

To change the currently active version to LTS, type the following:

You will see the following output:

To change the default Node.js version, run the following command:

This version will be auto-selected when the next session starts. Type the following to switch to default version:

The good thing about NVM is that each installed Node.js version keeps track of its own packages. npm is also automatically installed to manage these packages. You can type the following to find the current npm version installed:

You will see the following output:

Run the following command to learn more about all the options available with NPM:

Installing Node.js and NPM from NodeSource

The 3rd and last way of installing Node.js and npm on Ubuntu 18.04 is by using the PPA (Personal Package Archive) repository maintained by NodeSource. Just like NVM, they provide up-to-date Node.js versions than the official Ubuntu repositories and allow you to select the specific Node.js version you want.

At the time of writing this article, NodeSource repository offers the following Node.js versions: v12.x, v11.x, v10.x, and v8.x.

Let us install the current LTS version of Node.js, v10.x, Dubnium.

First of all, enable the NodeSource repository by running the following curl command:

The above command will add the PPA to your configuration file, create an apt sources repository file, install all required packages, and update the apt local package cache.

After executing the setup script from NodeSource, you can install Node.js and npm packages by typing the following:

The nodejs package contains binaries for both Node.js and npm. So you do not need to separately install npm.

To verify that both Node.js and npm were installed successfully, type the following command:

You will see the following output:

To compile and install native addons from npm, you will need to install the build-essential package:

Uninstalling Node.js and NPM

Uninstall apt Packages

To remove Node.js and npm packages installed from Ubuntu’s official repositories or NodeSource PPA via apt package manager, execute the following command:

The above command will remove the packages and keep the configuration files. If you no longer need these configuration files at a later point, then run the following command:

This will uninstall both packages and remove the configuration files associated with them.

As the last step, you should run the following command to remove unused packages that were installed automatically with the removed packages:

Uninstall NVM Packages

To uninstall a Node.js version that you have added through NVM, first run the following command to determine whether the version you want to remove is the currently active version or not:

If it is not the currently active version, just typing the following:

If you want to uninstall the current active Nod.js version, you should first deactivate it by typing:

Then remove it by running the following command:

/.bashrc (or other shell resource config) and remove the following lines:

Conclusion

That’s all for folks for today. You have learned about three different ways to install Node.js and npm on your Ubuntu 18.04 server. The method that suits you the best depends on your requirements and the environment where you are going to run your Node.js code.

If you are looking to deploy Node.js applications on a production environment, then the best option is to install Node.js from the NodeSource repository.

Developers may tend to like NVM for installing Node.js as it offers more flexibility to quickly install and switch between different Node.js versions.

✌️ Like this article? Follow me on Twitter and LinkedIn. You can also subscribe to RSS Feed.

How To Install Node.js & NPM on Ubuntu 18.04 and 20.04

Home » DevOps and Development » How To Install Node.js & NPM on Ubuntu 18.04 and 20.04

Node.js is an open-source cross-platform JavaScript (JS) runtime environment. It is used for building fast and scalable network applications. In addition to offering various JS modules, it is also lightweight, efficient and supports consistent and integrated development.

Node Package Manager (NPM) is Node’s official package manager, used for installing and managing package dependencies.

In this tutorial, learn three (3) different options for installing Node.js and NPM on Ubuntu 18.04 or Ubuntu 20.04.

How to install npm ubuntu. Смотреть фото How to install npm ubuntu. Смотреть картинку How to install npm ubuntu. Картинка про How to install npm ubuntu. Фото How to install npm ubuntu

Note: The process of updating Node.js is similar to installing, but with a few minor differences. To find out more, read How to Update Node.js on Linux.

3 Ways to Install Node.js and NPM on Ubuntu

Below you will find instructions on how to install Node.js and NPM on Ubuntu using the Ubuntu repository, NVM, and NodeSource repository.

Option 1: Install Node.js and NPM from Ubuntu Repository

The easiest way to install Node.js and NPM is from the Ubuntu repository.

First, update the cache repository to ensure you install the latest versions of Node.js and NPM.

1. Type the command:

2. Then, install Node.js with the command:

3. Confirm that the installation was successful by checking the available version:

4. Install the Node.js package manager (npm):

5. Verify the installed version:

Option 2: Install Node.js and NPM with NVM

Another way to install Node.js and NPM is with the Node Version Manager (NVM). NVM is a tool practical for managing multiple Node.js versions.

1. To install NVM, download the installation script from GitHub. For that, you use the curl command line.

Press y to confirm the installation and hit Enter.

2. Now, download the NVM installation script with the command:

Note: This command downloads the script for NVM version 0.33.11. Check out the NVM GitHub page to find the latest stable version and replace the section v0.33.11 in the command with the wanted release.

After it automatically clones the NVM repository and adds the NVM path to ZSH or Bash, you receive the following output:

How to install npm ubuntu. Смотреть фото How to install npm ubuntu. Смотреть картинку How to install npm ubuntu. Картинка про How to install npm ubuntu. Фото How to install npm ubuntu

3. Then, source the bash file by running:

4. Check whether the installation was successful by verifying nvm version:

This lists all available versions of Node.js, including the latest LTS version, like in the image below:

How to install npm ubuntu. Смотреть фото How to install npm ubuntu. Смотреть картинку How to install npm ubuntu. Картинка про How to install npm ubuntu. Фото How to install npm ubuntu

Note: LTS stands for long-term support and is used for software that is maintained for an extended period and is recommended as being the most stable.

6. To install a particular version, use the command nvm install and add the number of the version. For example:

To view all installed versions on your manager, use the command:

This lists all installed Node.js versions as well as the default and stable versions.

How to install npm ubuntu. Смотреть фото How to install npm ubuntu. Смотреть картинку How to install npm ubuntu. Картинка про How to install npm ubuntu. Фото How to install npm ubuntu

To check which version you are currently using, run the command:

To switch versions of Node.js (if you have already installed it on the NVM) enter the command:

Option 3: Install Node.js from NodeSource Repository

Alternatively, you may want to install Node.js and NPM from the NodeSource repository by adding its PPA (Personal Package Archive) for Ubuntu.

To enable the NodeSource repository, you have to use a curl command.

1. If you do not have curl on your system, run the following command to install it:

Press y to confirm the installation and hit Enter.

2. Now use the following sudo bash script to enable NodeSource:

To install another version, replace setup_12.x with the wanted version.

3. Next, install both Node.js and NPM with one command:

4. Verify the installation by checking the versions of Node.js and NPM.

Run the commands:

How to install npm ubuntu. Смотреть фото How to install npm ubuntu. Смотреть картинку How to install npm ubuntu. Картинка про How to install npm ubuntu. Фото How to install npm ubuntu

Note: When installing NodeSource, it is necessary to specify which version of Node.js you will install. In the example above, the Node.js version is 10, but other versions are also available.

Installing Development Tools

Once you have Node.js and NPM setup, install the development tools. This automation tool kit allows compiling and installing native add-ons from the NPM.

To install development tools run the command:

Remove Or Uninstall Node.js on Ubuntu

To remove a specific version of Node.js, run the nvm uninstall command appended by the version number.

For example, to uninstall version 8.11.1 run the command:

Как установить Node.js и npm в Ubuntu 20.04

Node.js — это кроссплатформенная среда выполнения JavaScript, построенная на JavaScript в Chrome и предназначенная для выполнения кода JavaScript на стороне сервера. Обычно он используется для создания серверных приложений, но также популярен как полнофункциональное и интерфейсное решение. npm — это менеджер пакетов по умолчанию для Node.js и крупнейшего в мире реестра программного обеспечения.

В этом руководстве мы рассмотрим три различных способа установки Node.js и npm в Ubuntu 20.04:

Выберите метод установки, подходящий для вашей среды. Если вы не уверены, какую версию Node.js установить, обратитесь к документации приложения, которое вы собираетесь развернуть.

Установите Node.js и npm из репозитория Ubuntu

На момент написания версия Node.js, включенная в репозитории Ubuntu 20.04, — это 10.19.0 которая является предыдущей версией TLS.

Установка довольно проста. Выполните следующие команды, чтобы обновить индекс пакета и установить Node.js и npm:

Приведенная выше команда установит ряд пакетов, включая инструменты, необходимые для компиляции и установки собственных надстроек из npm.

После этого проверьте установку, запустив:

Установка Node.js и npm из NodeSource

NodeSource — это компания, специализирующаяся на предоставлении поддержки узлов корпоративного уровня. Он поддерживает репозиторий APT, содержащий несколько версий Node.js. Используйте этот репозиторий, если вашему приложению требуется определенная версия Node.js.

На момент написания репозиторий NodeSource предоставляет следующие версии:

Установим Node.js версии 14.x:

Выполните следующую команду от имени пользователя с привилегиями sudo, чтобы загрузить и выполнить сценарий установки NodeSource:

После включения репозитория NodeSource установите Node.js и npm:

Убедитесь, что Node.js и npm были успешно установлены, распечатав их версии:

Чтобы иметь возможность компилировать собственные надстройки из npm, вам необходимо установить инструменты разработки:

Установка Node.js и npm с помощью NVM

NVM (Node Version Manager) — это сценарий bash, который позволяет управлять несколькими версиями Node.js для каждого пользователя. С помощью NVM вы можете установить и удалить любую версию Node.js, которую хотите использовать или протестировать.

Посетите страницу репозитория nvm GitHub и скопируйте команду curl или wget чтобы загрузить и установить сценарий nvm :

Не используйте sudo поскольку он включит nvm для пользователя root.

Скрипт клонирует репозиторий проекта из Github в каталог

Как видно из приведенных выше выходных данных, вам следует либо закрыть и снова открыть терминал, либо выполнить команды, чтобы добавить путь к сценарию nvm в текущий сеанс оболочки. Вы можете делать все, что вам удобнее.

Команда напечатает огромный список всех доступных версий Node.js.

Чтобы установить последнюю доступную версию Node.js, запустите:

Результат должен выглядеть примерно так:

После завершения установки проверьте ее, распечатав версию Node.js:

Установим еще две версии, последнюю версию LTS и версию 10.9.0 :

Вы можете просмотреть список установленных версий Node.js, набрав:

Результат должен выглядеть примерно так:

Если вы хотите изменить текущую активную версию, введите:

Чтобы изменить версию Node.js по умолчанию, выполните следующую команду:

Выводы

Мы показали вам три разных способа установки Node.js и npm на ваш сервер Ubuntu 20.04. Выбор метода зависит от ваших требований и предпочтений. Несмотря на то, что установить упакованную версию из репозитория Ubuntu или NodeSource проще, метод nvm дает вам больше гибкости для добавления и удаления различных версий Node.js для каждого пользователя.

Не стесняйтесь оставлять комментарии, если у вас есть вопросы.

How to Install Node.js and npm on Ubuntu 20.04

This article shows you how to get Node.js up and running on your Ubuntu 20.04 system using a non-root user account with sudo privileges.

There are two installation methods that we will look at:

Method 1: Installing Node.js from Ubuntu’s Official Repository

Installing Node.js with an apt package manager from Ubuntu’s official repository is fairly straightforward. First, update your package listing before running the installation command by entering the following:

How to install npm ubuntu. Смотреть фото How to install npm ubuntu. Смотреть картинку How to install npm ubuntu. Картинка про How to install npm ubuntu. Фото How to install npm ubuntu

How to install npm ubuntu. Смотреть фото How to install npm ubuntu. Смотреть картинку How to install npm ubuntu. Картинка про How to install npm ubuntu. Фото How to install npm ubuntu

Verify the install by checking the version of Node.js you have downloaded:

How to install npm ubuntu. Смотреть фото How to install npm ubuntu. Смотреть картинку How to install npm ubuntu. Картинка про How to install npm ubuntu. Фото How to install npm ubuntu

The process shown above should download the latest package available in Ubuntu’s software repository. To download a specific version, try out one of the other methods in this tutorial.

You can install npm just like we installed Node.js with the apt repository. Enter the following command to commence installation of npm:

How to install npm ubuntu. Смотреть фото How to install npm ubuntu. Смотреть картинку How to install npm ubuntu. Картинка про How to install npm ubuntu. Фото How to install npm ubuntu

You have now installed npm and Node.js on your system. You can now start using node.js and the npm library to add functionalities to the software on your system.

Method 2: Using nvm to Install Node.js

If you want to download a specific version of Node, or if you just want more customizability in the installation, using nvm in the process can do this for you. Nvm stands for Node Version Manager and is a tool that lets you administer several side-by-side and active Node. js versions on your system.

First, copy the curl command from the readme file on the GitHub page for nvm:

How to install npm ubuntu. Смотреть фото How to install npm ubuntu. Смотреть картинку How to install npm ubuntu. Картинка про How to install npm ubuntu. Фото How to install npm ubuntu

Paste it on the command terminal and run it to install the nvm. Then, run the following command to source your bash file.

How to install npm ubuntu. Смотреть фото How to install npm ubuntu. Смотреть картинку How to install npm ubuntu. Картинка про How to install npm ubuntu. Фото How to install npm ubuntu

To see what versions of Node are available to download, enter the following command:

How to install npm ubuntu. Смотреть фото How to install npm ubuntu. Смотреть картинку How to install npm ubuntu. Картинка про How to install npm ubuntu. Фото How to install npm ubuntu

Then, add whichever version you want to download in the following command syntax:

For example, to download v14.9.0, you would write the command as follows:

How to install npm ubuntu. Смотреть фото How to install npm ubuntu. Смотреть картинку How to install npm ubuntu. Картинка про How to install npm ubuntu. Фото How to install npm ubuntu

You have now successfully downloaded and installed Node.js v14.9.0 onto your system. You can download multiple different versions with nvm without the versions interrupting each other. You can even download and install long-term support versions of Node with nvm, such as Erbium or Dubnium. For example, the following command installs the latest Erbium version:

How to install npm ubuntu. Смотреть фото How to install npm ubuntu. Смотреть картинку How to install npm ubuntu. Картинка про How to install npm ubuntu. Фото How to install npm ubuntu

You can see all the versions of Node installed on your system by entering the following:

How to install npm ubuntu. Смотреть фото How to install npm ubuntu. Смотреть картинку How to install npm ubuntu. Картинка про How to install npm ubuntu. Фото How to install npm ubuntu

Use the following command to enter a different version of Node:

How to install npm ubuntu. Смотреть фото How to install npm ubuntu. Смотреть картинку How to install npm ubuntu. Картинка про How to install npm ubuntu. Фото How to install npm ubuntu

Nvm is a great tool to use because it brings together many options for efficient management of the Node.js software.

Wrapping Up

This tutorial looked at two different ways to install Node.js on an Ubuntu 20.04 server: by using nvm, and by directly requesting the program from the standard Ubuntu repository. If you are looking to install the latest version as quickly as possible, you should go with the first method. Otherwise, if you want more flexibility with your install, you can choose either of the two methods.

Check out Nodeproject’s official homepage to learn more about how to use Node on your Ubuntu 20.04 system.

About the author

How to install npm ubuntu. Смотреть фото How to install npm ubuntu. Смотреть картинку How to install npm ubuntu. Картинка про How to install npm ubuntu. Фото How to install npm ubuntu

Younis Said

I am a freelancing software project developer, a software engineering graduate and a content writer. I love working with Linux and open-source software.

How to Install Node JS and NPM in Windows 10 and Ubuntu 20.04 correctly

This post is for all javascript lovers. If you want to know «How to install node js and npm» in Windows and Ubuntu. You have landed on the right page. I have included all possible options to install node.js and npm in your favourite OS. These methods are really easy. All the commands output are also attached for your reference.

I am sure if you will follow this post step by step. You will be able to install node js and npm easily even if you are a newbie.

What is node Js and NPM

The NPM stands for the node package manager. It is the default package manager for Node.js. Basically, Node.js is a JavaScript runtime environment. Node.js allows developers to build scalable network application quickly. NPM is a client helps to access and browse the npm registry via the npm website. NPM registry is the repository of public and private packages online. Alternately, ied, pnpm, npmd and yarn can be used to access npm registry.

npm, Inc. is a subsidiary of GitHub, an American multinational corporation that provides hosting for software development and version control with the usage of Git.

There are couple of ways to install node.js and npm in Windows.

Please make a note, npm (node package manager) will auto install in windows 10 with node.js.

1:- How to install node js on Windows 10

Step 1:- Download node js

I will select 64-bit version.

Step1.1

After download of node js completes. Visit your download directory.

Step2:- Install Node.js and npm

Double click installer node-v14.15.3-x64.msi. This will start Node Js installation wizard.

Step2.1

Step2.2

Select the destination folder for node.js installation. Default location of node.js is «C:\Program Files\nodejs\«. In case, you want to select a custom location. Click on change and browse for your preferred install location.

Step2.3

Select node.js features. I will suggest you leave it default. Also, npm (node package manager) is part of features. So you don’t need to install it separately.

Space required to install these node js and npm features need 143MB capacity.

Click Next

Step2.4

Choose an optional tool to compile native modules, if required. Some npm modules need to be compiled from C/C++. To install these modules, you will need python and Visual studio build tools.

Choose box «Automatically install the necessary tools option«. You can visit https://github.com/nodejs/node-gyp#on-windows to install it later manually. We will discuss the chocolatey software in the next section.

In my case, i have not selected this option.

Choose Next.

Step2.5

Now you are ready with final node js step. You can click «Back» to review or change your node.js installation settings.

Click Install.

Step2.6

Select «Yes» to allow windows to run Node.js.

Step2.7

Sit back and relax. it will take couple of minutes to complete node.js installation.

Step2.8

Click Finish. You are done with node.js installation now.

Step3:- Check Node.js and npm version

Step3.1

Open command prompt with «run as administrator». Run node and npm command.

Check node js version

Check npm (node package manager) version

In my case, node.js version is v14.15.3 and npm is 6.14.9

Nowadays Microsoft recommends to Node js and NPM installation in WSL (Windows Subsystem for Linux). Follow this post to learn WSL and how to install Ubuntu on Windows.

1.a:- How to uninstall node js in Windows 10

In case you have old version of node.js or npm installed and want to remove it. Follow these steps-

Step1: Open add remove programs

Go to «Add or remove programs» from search window. Click open.

Step2: Find and Uninstall node js

Find node.js and click uninstall.

it will take couple of minutes to get clean from machine.

It will also remove npm (node package manager).

2:- How to install node js in Windows using chocolatey >

Step1:- Open PowerShell as admin

Type PowerShell in search box and open it as run as administrator.

Step2:- Set Execution policy

The execution policy is «restricted» by default in PowerShell. This policy will not allow you to run scripts. So you need to change it to » AllSigned «. So that it allows to download and run chocolatey commands.

Step3:- Download and Install Chocolatey using PowerShell script

Copy and paste this script to download and install chocolatey software in Windows. It will install the latest version of the chocolatey package.

It also download 7-zip tool and install it prior to extraction. You can safely ignore warnings while installing chocolatey.

If you get warning » Not setting tab completion: Profile file does not exist at ». Make a folder on that location. it will help you to complete chocolatey commands using Tab. For example, I will make a folder in «C:\users\Dev\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1».

Step4:- Install node.js using choco command

Use —force option, in the case earlier node.js installation failed. This will install the latest node.js version available.

To install specific version, give details in command. For example, i have given version 12.10.0.

Step5:- Check node js and npm version

Check node js version

Check npm version

Step6 (optional):- Install angular CLI

This step is optional and only need to run, if you need angular CLI. NPM command will help to download and install angular package.

Open command prompt with «run as administrator» rights. Then run npm command to install angular/cli.

or use @version to install version, you need. For example 1.8.2

How to install node js in Linux

Node js can be installed in Linux using two ways. One is from the official repository and second from NodeSource repository. These steps are applicable to Ubuntu 18.04 and 20.04 distro.

1# How to install node js in Ubuntu 20.04 using Ubuntu repository

Step1:- Open terminal and update Ubuntu repository

Open terminal with Ctrl + Alt + T and update repository.

Step2:- Install node js using CLI

Run apt-get command to install nodejs package. Make a note, npm is suggested package.

Step3:- Check Node version

Once installation done. Check node.js version

Step4:- Install npm in Ubuntu 20.04 using apt

Now let’s install node package manager (npm) which is required by Node Js.

Step5:- Check npm version

Check npm version

How to uninstall node js in Ubuntu

Step1:- Open terminal and run remove node js from ubuntu

Open terminal Ctrl + Alt + T and run apt-get command

How to uninstall npm in Ubuntu

Step2:- Open the terminal and run remove npm

Open terminal Ctrl + Alt + T and run apt command to remove npm

2# How to install node js in Ubuntu using NodeSource repository

Step1:- Open the terminal and update Ubuntu package manager

Open terminal and and run apt command to update package manager.

Step2:- Install dependent python libraries

Install dependent Python libraries with apt-get command

Step3:- Add node source PPA

Tip

If you get «curl» not found error. Install curl utility first.

Step4:- Install node js and npm packages in Ubuntu 20.04

Install node js and npm in Ubuntu using apt-get command. You don’t need to install npm separately in this case. Checkout this post on more ways to install packages in Ubuntu.

Step5:- Check Node and npm version in Ubuntu

Check node js version

Check npm (node package manager) version

Step6 (optional):- Install build essential tools

Install build tools to compile and install native add-ons. This is optional and depends on your need.

So, you have installed node js and npm in Ubuntu successfully.

Frequently Asked Questions

Is node JS safe to install?

Yes, installing node js is safe. Make sure you download node js software from nodejs.org website or authentic vendor repository only.

How to install node js as Windows service?

Download node-windows as a standalone module. The node-windows has a utility to run Node.js scripts as Windows services.

Which is the Best node js setup?

It’s always recommended to install latest (LTS) node js setup. Currently latest LTS version of node js is 14.15.3 (includes npm 6.14.9). LTS stands for long term support.

How to install the previous version of node js?

1.) Visit «https://nodejs.org/en/about/releases/«
2.) Scroll down and select your version
3.) Download and install.

Conclusion

There are multiple ways to download and install node js and npm in your favourite operating system. I have shown you the easiest ways to do it. You must be a happy soul and should be ready to work on your JavaScript. Let me know in comments if you still face any issue.

Источники информации:

Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *