Get the App
SLTechnology News&Howtos  ›  Development  › 

How to remove and reinstall Mac node

Shulou Source: shulou.com Published: 2022-06-03 17:18:51 11月13日 Update

This article mainly introduces how to delete and reinstall Mac node, which is very detailed and has a certain reference value. Friends who are interested must finish reading it!

Mac node remove and reinstall

Delete

Node-vsudo npm uninstall npm-gsudo rm-rf / usr/local/lib/node / usr/local/lib/node_modules / var/db/receipts/org.nodejs.*sudo rm-rf / usr/local/include/node / Users/$USER/.npmsudo rm / usr/local/bin/nodesudo rm / usr/local/share/man/man1/node.1sudo rm / usr/local/lib/dtrace/node.d

Confirm that deletion is complete

Node-vnpm-v

Download the stable version installation again on the official website

The above is all the contents of the article "how to remove and reinstall Mac node". Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!

Tags: Content articles value interests guys partners more knowledge industry information channels channels references help Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno vpn Microsoft Apple Shulou Tech Info macOS