// 1. Cleaning the cache
sudo npm cache clean -f
// 2. Installing n for version management
sudo npm install -g n
sudo n stable // Or any version you like
// 3. Symlink and Replace <VERSION> installed with n
sudo ln -sf /usr/local/n/versions/node/<VERSION>/bin/node /usr/bin/node
Be the first to comment
You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.