Installation Steps

  1. Download the Windows installer from the Nodes.js web site.
  2. Run the installer (the .msi file you downloaded in the previous step.)
  3. Follow the prompts in the installer (Accept the license agreement, click the NEXT button a bunch of times and accept the default installation settings).
  4. Restart your computer. You won't be able to run Node.js until you restart your computer.

Test it!

Make sure you have Node and NPM installed by running simple commands to see what version of each is installed and to run a simple test program:

  • Test Node. To see if Node is installed, open the Windows Command Prompt, Powershell or a similar command line tool, and type node -v. This should print a version number, so you'll see something like this v0.10.35.
  • Test NPM. To see if NPM is installed, type npm -v in Terminal. This should print NPM's version number so you'll see something like this 1.4.28
  • Create a test file and run it. A simple way to test that node.js works is to create a JavaScript file: name it hello.js, and just add the code console.log('Node is installed!');. To run the code simply open your command line program, navigate to the folder where you save the file and type node hello.js. This will start Node and run the code in the hello.js file. You should see the output Node is installed!.

Install yarn via npm

npm install --global yarn

Test that Yarn is installed by running:

yarn --version


Installing OpenSC2K

OpenSC2K - An Open Source remake of SimCity 2000 written in JavaScript, using WebGL Canvas and Phaser 3.

Windows (not tested)

  1. git clone or download this repository
  2. cd OpenSC2K
  3. npm install --global --production windows-build-tools (as admin) installs Windows specific prerequisites
  4. npm config set msvs_version 2015 --global changes config to use correct version of msvs
  5. yarn install downloads and installs the dependencies
  6. yarn start to run

Open OpenSC2K


How to host a Node.Js application in shared hosting