0
0

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 1 year has passed since last update.

Mac 環境から Node.js を アンインストールする話

Posted at

はじめに

Node.js からパッケージ版でインストールした Node.js をアンインストールする個人的メモになります。

公式ページ

Node.js HP

環境

macOS Ventura 13.1

アンインストール方法

バージョンの確認

% node --version
v18.16.0

% which node
/usr/local/bin/node

アンインストール

以下のコマンドを実行します。
パスワードを求められたらマシンのパスワードを入力します。

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

# アンインストールされたことの確認
% node --version
zsh: command not found: node
0
0
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
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?