May 21, 2021 Cordova
Before we get started with Cordova settings, we need to install some components.
Serial number | Software and descriptions |
---|---|
1 |
NodeJS and NPM NodeJS is the platform That Cordova needs to develop. /b10> Check out our NodeJS environment settings. |
2 |
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. |
3 |
XCode For iOS platforms, you need to install xCode on your computer. /b10> Here's more information about iOS environment settings. |
Before we get started, you need to know that we'll use the windows command prompt in the tutorial.
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.
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.
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.