How to install certain node version from command line

Viewed 39099

I want to install node 6.9.4.

In windows console I try with this:

npm install node@v6.9.4

And it throws this error:

npm ERR! No compatible version found: node@v6.9.4
npm ERR! Valid install targets:
npm ERR! 0.0.0

In linux the result is similar. I try with

sudo npm install node@v6.9.4

and the output is:

npm ERR! version not found: node@6.9.4-cls

Is there a way to install certain node version with npm?

2 Answers
Related