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 3 years have passed since last update.

【Mac】ディレクトリ下のnode_modulesを全削除するコマンド

Last updated at Posted at 2021-02-07

自分はこれで30GBの容量確保に成功しました。

コマンド

  • カレントディレクトリ以下のnode_modulesが全て削除されます。適切なディレクトリで実行してください。
  • コマンドを改変する際は自己責任でお願いします。
find ./ -name "node_modules" | xargs rm -rf

管理者権限はつけない方がいいですが、permission denied が出る場合は自己責任でお願いします。

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?