Installing and running Appium on a windows machine
Step 1: Install the latest java version on your local machine
You can download it from here Java Downloads | Oracle
Please download according to your operating system Then set the JAVA_HOME
in environment variables
![](http://nocodebdd.com/wp-content/uploads/2022/08/env-var-1-600x483.png)
![](http://nocodebdd.com/wp-content/uploads/2022/08/env-var-2.png)
![](http://nocodebdd.com/wp-content/uploads/2022/08/env-var-3-600x565.png)
Step 2: Install the Android SDK
You can download it from the below URL
Download Android Studio and SDK tools | Android Developers
![](http://nocodebdd.com/wp-content/uploads/2022/08/install-sdk-600x201.png)
Once installed set the ANDROID_HOME environment variable
![](http://nocodebdd.com/wp-content/uploads/2022/08/set-android-path-600x290.png)
Step 3: Install Appium on your local machine
Use the following link to download Appium
![](http://nocodebdd.com/wp-content/uploads/2022/08/launch-appium-600x553.png)
![](http://nocodebdd.com/wp-content/uploads/2022/08/appium-running-600x559.png)
Step 4: Connect the android device in developer mode
Open your android mobile goto settings
> About Phone
(varies from phone to phone) > Android version
> next to android version check for build number or any version in formation next to android version click it more than 5 times it will prompt you are a developer now
Then a new developer options
will be opened on your settings page
If you have a search in your settings, look for developer
Goto > developer options
> enable it
> USB debugging
> enable it.
Now you can connect your device to your laptop/pc via USB and start using appium.