![]() So here\'s what you might want to do today:\n\nįind out which version of Node.js you are using:\n\n node -version\n\n\nįind out which versions of Node.js you may have installed and which one of those you\'re currently using:\n\n nvm ls\n\n\n Walsh himself recommended to update Node.js just using nvm instead.\n\n This four years old post still receives up-votes so I\'m guessing it still works for many people. Install latest stable Node.js version\n\n sudo n stable\n\nĪlternatively pick a specific version and install like this:\n\n sudo n 0.8.20\n\n\nįor production environments you might want to pay attention to version numbering and be picky about odd/even numbers.\n\n Install a little helper called \'n\'\n\n sudo npm install -g n\n\n I used the following instructions to upgrade from Node.js version 0.10.6 to 0.10.21 on a Mac.\n\nĬlear NPM\'s cache:\n\n sudo npm cache clean -f\n\n
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |