Node.js on Windows 8 with Chocolatey
maart 17, 2013
Disclaimer: I know I’m not the first one who is jumping on this train. I’m late majority when it comes to Node.js and JavaScript. But it’s nonetheless fun to blog about the journey. And that’s the reason for these posts.
Let’s install Chocolatey first. Just open a command prompt and copy and paste the text and press enter.
For Node JS this is the package you need, because it contains NPM as well.
Just type
[ps]
cinst nodejs.install
[/ps]
Check it out by creating a javascript file with e.g.
[javascript]
console.log("Join us today");
[/javascript]
Save it as joinus.js
And then fire up a Powershell prompt of Dos prompt and type
[ps]
node joinus.js
[/ps]
The result:
[plain]
PS C:\Users\jacqueline\Desktop\Invites> node .\test.js
Join us today
[/plain]
Doesn’t this bring tears in your eyes?