-5

How should I get stated with Node.js on Windows? What dependencies do I need? What do I need to download? Do I need to type anything into the Command Prompt? Can I even use Node.js on Windows?

user1971491
  • 11
  • 1
  • 6
  • 4
    did you do any research? – VeXii Jan 21 '13 at 02:40
  • 4
    So if you search "node.js", you can get the Node.js website! It's at http://nodejs.org/. See that big, green INSTALL button? Click it. Then, you can save the installer and double-click on it to run it. (Make sure to click twice *in rapid succession* if in Explorer. This is a common mistake.) Then follow the prompts. – Ry- Jan 21 '13 at 02:42
  • 1
    Then you can run the Node.js REPL from the Start Menu, or open the command line and run things using `node`. If you have an aversion to the command line, go into the installation directory and make a shortcut to `node.exe` on your Desktop or somewhere! Then you can run Node.js scripts by dragging them onto the icon. Associating the file type to `node.exe` is also quite possible! – Ry- Jan 21 '13 at 02:45

1 Answers1

5

All you have to do is download the Windows version: http://www.nodejs.org/download/ Nothing more.

You can run it by typing node on the command prompt. It even sets up the path for you. It's that simple.

Brad
  • 159,648
  • 54
  • 349
  • 530
  • I've tried the MSI before, and it gave me an error, but now it works! Thanks! – user1971491 Jan 21 '13 at 02:53
  • How do I start the server? – user1971491 Jan 21 '13 at 02:58
  • 3
    @user1971491 Node doesn't have a pre-defined server that you can just start. It instead has modules available to help you create or define a server application yourself -- e.g., [`http`](http://nodejs.org/api/http.html) and [`net`](http://nodejs.org/api/net.html). So, to start a server, you have to write a script that uses one of these modules and execute that script. – Jonathan Lonowski Jan 21 '13 at 03:29