I'm new to ubuntu 21.10
and recently I use ubuntu 20.04
after upgrading mu node package was upgraded to 12.22.0
and my node packages completely messed up
now I want to install node 10.19.0
on my ubuntu how can id do this?
Asked
Active
Viewed 5,102 times
2

mohammad asiyabanii
- 43
- 1
- 5
-
Does this solves your issue https://stackoverflow.com/questions/16898001/how-to-install-a-specific-version-of-node-on-ubuntu – Suresh Mangs Oct 30 '21 at 11:56
1 Answers
0
- You can downgrade npm by simple pasting a needed version:
For example:
npm install -g npm@3.10.10
Be sure that it's downgraded:
npm -v
- To downgrade nodejs, you can also do so by simple pasting a needed version.
For example:
$ npm install -g n
$ n 6.10.3
Be sure that it's downgraded:
$ node -v
v6.10.3
If it doesn't show up a needed version, you can try to run all commands above with admin privileges.

Samat Sakhiyev
- 51
- 3