Cordova Environment Setup - Cordova

What is Cordova Environment Setup?

Before we can start with Cordova setup we will need some components installed.

Installing Cordova

Before we start you need to know that we will use windows command promptin our tutorial.

SN

Software & Description

1

NodeJS and NPM

NodeJS is the platform needed for the Cordova development. Checkout ourNodeJS Environment Setup.

2

Android SDK

For Android platform you need to have Android SDK installed on your machine. Here is the detail onAndroid Environment Setup.

3

XCode

For iOS platform then you need to have xCode installed on your machine. Here is the detail oniOS Environment Setup.

Step 1 - Installing git
Even if you don't use git, it should be installed since Cordova is using it for some background processes. You can download git here. After you install git, open your environment variable.

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

Copy the following at the end of the variable value field. This is default path of the git installation. If you installed it on different path you should use that instead of our example code below.

Now you can type git in your command prompt to test if installation is successful.
Step 2 - Installing Cordova
This step will download and install Cordova module globally. Open command prompt and run the following –

You can check installed version by running –

This is everything you need to start developing Cordova apps on windows operating system. In our next tutorial we will show you how to create first application.

All rights reserved © 2018 Wisdom IT Services India Pvt. Ltd DMCA.com Protection Status

Cordova Topics