To remove or uninstall Grunt, run below command
npm uninstll -g grunt-cli
You will get the output like this
commands:
npm uninstall sax --save
npm uninstall @myorg/privatepackage --save
npm uninstall node-tap --save-dev
npm uninstall dtrace-provider --save-optional
npm uninstall lodash --no-save
npm uninstall
takes 3 exclusive, optional flags which save or update the package version in your main package.json:
-
-S, --save
: Package will be removed from yourdependencies
. -
-D, --save-dev
: Package will be removed from yourdevDependencies
. -
-O, --save-optional
: Package will be removed from youroptionalDependencies
. -
--no-save
: Package will not be removed from yourpackage.json
file.
Remove node.js from Windows:
You can uninstall node.js from the control panel.