How to Change Node.js Version on Ubuntu / Debian / Linux Mint

preview_player
Показать описание

1. Install nvm: Open the terminal and run the following command to install nvm:
```
```
This will download and install nvm on your system.

2. Close and reopen the terminal: After installing nvm, close the terminal and open a new one. This will ensure that the changes made by nvm are loaded.

```
nvm install version
```

```
nvm use version
```

Here's what you'll learn:

1. Install NVM:
- Learn how to install NVM on Ubuntu using the command-line interface.
- Set up the necessary environment variables for NVM to work properly.

Рекомендации по теме
Комментарии
Автор

i spent more than 3 hours to update node version but i stopped after your video thanks man really appreciate ur work!

dixit.piyush
Автор

I'm using deeping 20.8. When I paste the code to install nvm it doesn't install. It just hangs on the next line

ejikeezekwunem
Автор

I al confusing you change node version not nodejs

MICKAELPREVOST-xdof