Install node.js modules in eclipse

I am trying to develop a chat app with node.js and socket io in an eclipse environment. I have installed node.js in eclipse but I dont know how to install node modules such as expresss, socket io, etc.

Please anyone tell me how to setup node modules in an eclipse environment.

Thanks in advance.

I dont think that there is an eclipse integrated way to do this. My suggestion is that you download node.js+npm from http://nodejs.org/download/ and then open up a terminal/cmd and in your node.js project directory do "npm install myPackage"

From https://groups.google.com/forum/#!topic/nodeclipse/FgUci2ZXpoQ

  1. Double-click package.json on the Package Explorer to open it.
  2. Add into dependencies section what you want to install, and save it.
  3. Select package.json on the Package Explorer, open context menu by right-clicking, and select [Run As]-[npm install] menu.

You mention installing express, but you don't need to install that if you're using nodeclipse.

to generate an express project: Select the File-New-Project menu. Select Node-Express Project, and select Next button. Enter Project name and select Finish button.

To install express modules in Nodeclipse go to

Windows -> Preferences-> Nodeclipse -> choose express path field

and enter the location of the installed express on your localhost.