In my installation (0.6.7) it is at c:\Program Files\nodejs

I don't sure about the current installation, but I remember I had to add
that directory to PATH.

Then, try it at ANY DIRECTORY, running

node

or

node yourprogram.js

Windows installation has npm, the Node Package Manager. You can make a new
directory, cd to that directory, and then

npm install <modulename>

A new node_modules subdirectory is created, with the module and its
dependencies, grabbed from the npm online repository.

If you download an example, probably it has a package.json file, describing
its dependencies.

cd to the directory where package.json resides.
then

npm install

It reads package.json and downloads all the dependencies.

Some modules are not available for Windows, yet.

Angel "Java" Lopez
http://www.ajlopez.com
http://twitter.com/ajlopez


On Mon, Apr 9, 2012 at 6:23 PM, mscdex <[email protected]> wrote:

> On Apr 9, 9:36 am, ismapro <[email protected]> wrote:
> > I just download and install the "windows installer package of
> > node.js"  but i can't find where is it or how can i use it.
>
> Use it from the command prompt (cmd.exe and then "node foo.js" or what
> have you) or just type "node" in the start menu Run box, hit enter,
> and you've got a node REPL available.
>
> --
> Job Board: http://jobs.nodejs.org/
> Posting guidelines:
> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
> You received this message because you are subscribed to the Google
> Groups "nodejs" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/nodejs?hl=en?hl=en
>

-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to