Last active
August 11, 2020 21:26
-
-
Save mikecabana/1338e570afe0c2ffb8404f51caf343a3 to your computer and use it in GitHub Desktop.
Remove recursively node_modules folders on Windows machines using powershell
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Windows Powershell | |
# 1. cd into the root directory you want to start from | |
# 2. run the follwing command | |
Get-ChildItem -Path "." -Include "node_modules" -Recurse -Directory | Remove-Item -Recurse -Force |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment