Using ‘n’ (Node Version Manager):

1.Install ‘n’ globally using npm (if you haven’t already):

npm install -g n

2.List available Node.js versions:

n ls-remote

3.Install the desired older version:

n <version>

4.Switch to the installed version:


5.Verify the installed node.js version:

node -v

Using ‘nvm’ (Node Version Manager):

curl -o- | bash
source ~/.bashrc
nvm ls
nvm install <version>
nvm use <version>
node -v

Support On Demand!