Upgrade Node.js to the latest version on Mac OS
Upgrade Node.js to the latest version on Mac OS
- sudo npm cache clean -f (force) clear you npm cache
- sudo npm install -g n install n (this might take a while)
- sudo n stable upgrade to the current stable version
{{ 'Comments (%count%)' | trans {count:count} }}
{{ 'Comments are closed.' | trans }}