I have Node:13.5.0 version but it is not compatible with Angular CLI 8.3.21 version. So I want to get back to the Node 12. version.
Asked
Active
Viewed 1.1k times
4
-
You can use [nvm](http://nvm.sh). It makes it very convenient to switch between versions. – Mark Apr 22 '20 at 01:59
3 Answers
3
try this
npm install -g n
n 12.13.0
or if you're on windows you can try this : github.com/coreybutler/nvm-windows

547n00n
- 1,356
- 6
- 30
- 55
-
what's wrong exactly ? what's your OS ? what's the input in your terminal ? – 547n00n Apr 22 '20 at 02:21
-
-
3
There are several ways to manage different versions.
- nodenv
- nvm
- nodebrew
I personally recommend nodenv because we can set up different versions for different directories (= different projects) easily.
Simple example (local)
cd /path/to/project
nodenv install <version>
nodenv local <version>
Simple example (global)
nodenv install <version>
nodenv global <version>

dmjy
- 1,183
- 3
- 10
- 26
-
I am new to angular. So I have not heard these before.Thank you.I will try learning on these ways of managing different versions – Kamalka Fernando Apr 22 '20 at 02:08
1
For Windows the straightforward solution is to go the Control Panel's uninstall page, uninstall Node.js, then get the install package from https://nodejs.org/en/download/ .

Graham Laight
- 4,700
- 3
- 29
- 28