Skip to main content
Active reading [<https://en.wikipedia.org/wiki/Node.js> <https://en.wikipedia.org/wiki/Windows_PowerShell>].
Source Link
Peter Mortensen
  • 31.4k
  • 22
  • 110
  • 134

For Windows Usersusers - Ifif you want to remove all the nodeNode.js modules installed at once:

  • Open powershella PowerShell window
  • Go inside node_modulesthe node_modules folder (cd node_modulescd node_modules)
  • Run this command - "npm uninstall (Get-ChildItem).Name"

It will uninstall all the modules.

For Windows Users - If you want to remove all the node modules installed at once:

  • Open powershell
  • Go inside node_modules folder (cd node_modules)
  • Run this command - "npm uninstall (Get-ChildItem).Name"

It will uninstall all the modules.

For Windows users - if you want to remove all the Node.js modules installed at once:

  • Open a PowerShell window
  • Go inside the node_modules folder (cd node_modules)
  • Run this command - "npm uninstall (Get-ChildItem).Name"

It will uninstall all the modules.

Source Link
Manish Kumar
  • 15.5k
  • 5
  • 21
  • 27

For Windows Users - If you want to remove all the node modules installed at once:

  • Open powershell
  • Go inside node_modules folder (cd node_modules)
  • Run this command - "npm uninstall (Get-ChildItem).Name"

It will uninstall all the modules.