Friday, December 30, 2011

How to install/uninstall node modules in windows 7?

To install node module
  1. Start command prompt as administrator. For help see this link.
  2. Go to the folder where nodejs installed. Example: CD "C:\Program Files\nodejs\"
  3. Again go to the folder of node_modules under npm. Example: CD "node_modules\npm\node_modules"
  4. Execute command "npm install http-proxy"

To uninstall node module
  1. Follow Step 1 to 3 of above.
  2. Execute command "npm uninstall http-proxy"

No comments: