Checking prerequisites

To start developing using kheljs you will need the following installed on your computer:

  • nodejs version 14.16.1 or above
  • npm version 6.14.12 or above
  • an editor such as Visual Studio Code

Note: kheljs was developed using the above versions of node and npm. It is possible that it will work with some versions of node and npm earlier than that. The framework just has not been tested with earlier node/npm versions.

Checking node and npm versions

To find the version of nodejs and npm on your machine execute the following from a command window:

$ node --version
$ npm --version

If the above command fails, then it is likely that you don't have nodejs installed on your computer. Please see the section below for instructions on how to install nodejs on your computer.

Installing nodejs

If nodejs is currently not installed on your computer, then head to, download and install the latest version of nodejs into your computer. After nodejs is installed successfully on your computer, you will be able to execute the above two commands to check versions of node and npm.

Installing Visual Studio Code

The preferred IDE for development with kheljs is to use Visual Studio Code mainly because VS code provides a superb development environment for Javascript. Its support for Typescript is out of the box. The IDE also supports numerous extensions and shortcuts to facilitate development using Typescript. If you have not done so already, please install the latest version of VS code on your computer.