3
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

nodeとnpmとyarnをmacから削除したコマンド

Posted at
$ which node
→ /usr/local/bin/node
$ sudo rm -rf /usr/local/bin/node
$ brew uninstall nodebrew
$ brew uninstall node
brew: brew uninstall yarn

tarball: rm -rf "$HOME/.yarn"

npm: npm uninstall -g yarn

ubuntu: sudo apt-get remove yarn && sudo apt-get purge yarn

centos: yum remove yarn

windows: choco uninstall yarn

参考

How Do I Uninstall Yarn

ローカルからnode.jsを削除する

Node.js を完全にアンインストールする

3
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?