npm install nodeunit -g
```Then create a test file: TestCustomerModel.js: [!(https://sharepointkunskap.files.wordpress.com/2012/06/nodeunit-004.png "nodeunit-004")](https://sharepointkunskap.files.wordpress.com/2012/06/nodeunit-004.png) Btw, here is my solution: [!(https://sharepointkunskap.files.wordpress.com/2012/06/nodeunit-006.png "nodeunit-006")](https://sharepointkunskap.files.wordpress.com/2012/06/nodeunit-006.png) Next, run the test:
##### Nodeunit in web browser
## Comments from Wordpress.com
[Anatoly Mironov]( "email@example.com") - <time datetime="2012-08-16 16:51:03">Aug 4, 2012</time>
Hallo Thomas! The only thing you need is to install node.js from nodejs.org. Just find the Windows installer...It is really straight forward. Then you have to globally install nodeunit... `npm install nodeunit -g` Node is a very interesting technique.
[Thomas Deutsch](http://gravatar.com/thomasdah "firstname.lastname@example.org") - <time datetime="2012-08-16 13:51:05">Aug 4, 2012</time>
Thank you very mutch for this article. I have a question. What do i need to setup the node.js environment on my SP server?