Coding With Fun
Home Docker Django Node.js Articles Python pip guide FAQ Policy

Cordova environment configuration

May 21, 2021 Cordova

Table of contents

Before we get started with Cordova settings, we need to install some components.

Serial number Software and descriptions

NodeJS and NPM

NodeJS is the platform That Cordova needs to develop. /b10> Check out our NodeJS environment settings.


Android SDK

For Android platforms, you'll need to install the Android SDK on your machine. /b10> The following is more information about Android environment settings.



For iOS platforms, you need to install xCode on your computer. /b10> Here's more information about iOS environment settings.

Install Cordova

Before we get started, you need to know that we'll use the windows command prompt in the tutorial.

Step 1 - Install git

Even if you don't use git, it should be installed because Cordova is using some of its background processes. /b10> You can download git here. /b12> After you install git, open your environment variables.

  • Right-Click on Computer
  • Properties
  • Advanced System settings
  • Environment Variables
  • System Variables
  • Edit

Copy the following at the end of the variable value field. /b10> This is the default path for git installation. /b11> If you install it on different paths, you should use it instead of our sample code below.

;C:\Program Files (x86)\Gitin;C:\Program Files (x86)\Git\cmd

Now you can type git in the command prompt to test that the installation was successful.

Step 2 - Install Cordova

This step will download and install the Cordova module worldwide. Open the command prompt and run the following command -

C:\Users\username>npm install -g cordova

You can check the installed version by running -

C:\Users\username>cordova -v

That's all you need to start developing Cordova applications on the Windows operating system. /b10> In our next tutorial, we'll show you how to create your first application.