Thursday, September 15, 2011

Getting started with node.js on Windows

Here are a few quick steps to set up a node.js development environment on Windows:

  1. Install WebMatrix: http://www.microsoft.com/web/webmatrix/
  2. Install node.js: https://github.com/tjanczuk/node/downloads
  3. Install iisnode for IIS Express (choose x86 even on 64 bit systems): https://github.com/tjanczuk/iisnode/downloads 
  4. Install Steve’s node.js templates for WebMatrix: https://github.com/SteveSanderson/Node.js-Site-Templates-for-WebMatrix/downloads 
  5. Open WebMatrix, choose “Site from folder”, enter %localappdata%\iisnode\www, start the site, and play with the iisnode samples, or
  6. Use node.js templates to get started quickly with an Express application or a skeleton Hello World

For more information and howtos check out my recent posts and visit http://github.com/tjanczuk/iisnode.

I hope you like it and I am looking for your comments and suggestions. Please report any issues at https://github.com/tjanczuk/iisnode/issues.

2 comments:

  1. So I noticed you are packaging up an msi for node.exe recently. Have you thought about using the chocolatey package instead (http://chocolatey.org/packages/nodejs)?

    cinst nodejs

    It "installs" to a different directory, but it puts that directory on the path.

    The chocolatey "installer" for nodejs - https://github.com/ferventcoder/nugetpackages/blob/master/nodejs/tools/chocolateyInstall.ps1

    It could use your MSI instead. To do that would make the install require administrative rights though - it's a tradeoff.

    Hit me up on twitter - ferventcoder (or at gmail if you don't have twitter) if you want to discuss further. :D

    ReplyDelete
  2. Thank you soooo much for all of this! I've been banging my head on my desk trying to get Node to work on my computer. Will follow it closely.

    ReplyDelete

About Me

My Photo
I am helping to develop and ship software for Microsoft. My current focus is node.js, JavaScript, and Azure. Before that I worked on .NET Framework and Silverlight, in particular web service technologies: Windows Communication Foundation (WCF), SOAP, WS-*, REST, AJAX.

Search This Blog

Loading...

Blog Archive