2021-10-17 18:26:00 +02:00
|
|
|
---
|
2022-12-29 06:25:01 -08:00
|
|
|
title: Installing Node.js
|
2022-07-02 22:52:31 +02:00
|
|
|
order: 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
|
2023-09-30 15:57:51 +02:00
|
|
|
nvm install lts/hydrogen
|
2021-08-25 16:09:31 +02:00
|
|
|
```
|
|
|
|
|
2023-09-30 15:57:51 +02:00
|
|
|
This will install the so-called LTS version of Node.js 18 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.
|