---
title: "macOS 下 Nodejs 卸载"
author: "friping"
date: "2019-03-27T15:10:29Z"
tags: []
categories: ["Web前端"]
slug: "macos-nodejs"
draft: false
lastmod: "2019-03-27T15:10:29Z"
id: 2439427
url: "https://friping.iteye.com/blog/2439427"
---

若用homebrew 安装的 先执行

```
brew uninstall node
```

 

之后执行

```
sudo rm -rf /usr/local/{bin/{node,npm},lib/node_modules/npm,lib/node,share/man/*/node.*}
```