2021-10-17 18:26:00 +02:00
|
|
|
---
|
2022-12-29 06:25:01 -08:00
|
|
|
title: Installing Node.js
|
2024-11-18 11:05:16 +01:00
|
|
|
sidebar_position: 20
|
2021-10-17 18:26:00 +02:00
|
|
|
---
|
2021-08-25 16:09:31 +02:00
|
|
|
|
2022-12-29 06:25:01 -08:00
|
|
|
Now we will use `nvm` to install Node.js. Run the following command:
|
2021-08-25 16:09:31 +02:00
|
|
|
|
|
|
|
```bash
|
2025-05-18 09:32:33 +00:00
|
|
|
nvm install lts/iron
|
2021-08-25 16:09:31 +02:00
|
|
|
```
|
|
|
|
|
2025-05-18 09:32:33 +00:00
|
|
|
This will install the so-called LTS version of Node.js 20 on your system.
|
2022-07-02 22:52:31 +02:00
|
|
|
|
2022-12-29 06:25:01 -08:00
|
|
|
LTS versions -- short for Long Term Support -- are good Node.js versions
|
2021-08-25 16:09:31 +02:00
|
|
|
to use because they are stable and supported for a long time.
|