1//First, clear the npm cache:
2 npm cache clean -f
3
4//Install n, Node’s version manager:
5 npm install -g n
6
7//With the n module installed, you can use it to:
8 Install the latest stable version: n stable
9 Install the latest release: n latest