Delete node_modules folder recursively from a specified path using command line

后端 未结 7 2037
暖寄归人
暖寄归人 2021-01-29 18:26

I have multiple npm projects saved in a local directory. Now I want to take backup of my projects without the node_modules folder, as it is taking a lot of space a

7条回答
  •  天命终不由人
    2021-01-29 18:44

    Try https://github.com/voidcosmos/npkill

    npx npkill
    

    it will find all node_modules and let you remove them.

提交回复
热议问题