{"id":58990,"date":"2023-10-11T09:56:01","date_gmt":"2023-10-11T04:26:01","guid":{"rendered":"https:\/\/www.tothenew.com\/blog\/?p=58990"},"modified":"2023-10-25T10:00:01","modified_gmt":"2023-10-25T04:30:01","slug":"how-to-install-appium-on-windows","status":"publish","type":"post","link":"https:\/\/www.tothenew.com\/blog\/how-to-install-appium-on-windows\/","title":{"rendered":"How to install Appium on Windows"},"content":{"rendered":"<p><span style=\"font-weight: 400;\">Appium is a powerful open-source automation framework that has gained immense popularity among developers and testers for mobile app testing. However, getting started with Appium setup can be a daunting task for beginners. In this blog, we will walk you through a step-by-step guide to simplify the process and help make your Appium setup easier.<\/span><\/p>\n<h3><b>Prerequisites:<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">Before diving into the Appium setup, ensure that you have the following prerequisites in place:<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><span style=\"font-weight: 400;\">&#8211; Java Development Kit (JDK)<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><span style=\"font-weight: 400;\">&#8211; Android SDK\/Android Studio<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><span style=\"font-weight: 400;\">&#8211; Appium Inspector<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><span style=\"font-weight: 400;\">&#8211; IDE (e.g., Eclipse, IntelliJ, or Visual Studio Code)<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><span style=\"font-weight: 400;\">&#8211; Appium server and client libraries<\/span><\/p>\n<h3><b>Step 1: Installing Java Development Kit (JDK):<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">&#8211; Visit the Oracle website (<\/span><a href=\"https:\/\/www.oracle.com\/in\/java\/technologies\/downloads\/#jdk21-windows\"><span style=\"font-weight: 400;\">https:\/\/www.oracle.com\/in\/java\/technologies\/downloads\/#jdk21-windows<\/span><\/a><span style=\"font-weight: 400;\">)\u00a0 and download the latest version of JDK suitable for your operating system.\u00a0<\/span><\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-medium wp-image-58988\" src=\"\/blog\/wp-ttn-blog\/uploads\/2023\/10\/19-300x80.png\" alt=\"\" width=\"300\" height=\"80\" srcset=\"\/blog\/wp-ttn-blog\/uploads\/2023\/10\/19-300x80.png 300w, \/blog\/wp-ttn-blog\/uploads\/2023\/10\/19-1024x274.png 1024w, \/blog\/wp-ttn-blog\/uploads\/2023\/10\/19-768x205.png 768w, \/blog\/wp-ttn-blog\/uploads\/2023\/10\/19-1536x410.png 1536w, \/blog\/wp-ttn-blog\/uploads\/2023\/10\/19-624x167.png 624w, \/blog\/wp-ttn-blog\/uploads\/2023\/10\/19.png 1804w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/p>\n<p><span style=\"font-weight: 400;\">&#8211; Run the JDK installer and follow the instructions to complete the installation.<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><span style=\"font-weight: 400;\">&#8211; Set up the JAVA_HOME environment variable by going to the system&#8217;s environment variables and adding a new variable with the name JAVA_HOME and the path to the JDK installation directory.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Follow the steps below for JAVA_HOME environment variable setup:<\/span><\/p>\n<p><span style=\"font-weight: 400;\">1) Go to MyComputer properties<\/span><\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-58979 size-full\" src=\"\/blog\/wp-ttn-blog\/uploads\/2023\/10\/1-3.png\" alt=\"\" width=\"831\" height=\"418\" srcset=\"\/blog\/wp-ttn-blog\/uploads\/2023\/10\/1-3.png 831w, \/blog\/wp-ttn-blog\/uploads\/2023\/10\/1-3-300x151.png 300w, \/blog\/wp-ttn-blog\/uploads\/2023\/10\/1-3-768x386.png 768w, \/blog\/wp-ttn-blog\/uploads\/2023\/10\/1-3-624x314.png 624w\" sizes=\"(max-width: 831px) 100vw, 831px\" \/><\/p>\n<p><span style=\"font-weight: 400;\">2) Click on the advanced tab<\/span><\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-58980 size-full\" src=\"\/blog\/wp-ttn-blog\/uploads\/2023\/10\/2-1.png\" alt=\"\" width=\"614\" height=\"359\" srcset=\"\/blog\/wp-ttn-blog\/uploads\/2023\/10\/2-1.png 614w, \/blog\/wp-ttn-blog\/uploads\/2023\/10\/2-1-300x175.png 300w\" sizes=\"(max-width: 614px) 100vw, 614px\" \/><\/p>\n<p>3) Click on environment variables<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-58981 size-full\" src=\"\/blog\/wp-ttn-blog\/uploads\/2023\/10\/3.png\" alt=\"\" width=\"411\" height=\"469\" srcset=\"\/blog\/wp-ttn-blog\/uploads\/2023\/10\/3.png 411w, \/blog\/wp-ttn-blog\/uploads\/2023\/10\/3-263x300.png 263w\" sizes=\"(max-width: 411px) 100vw, 411px\" \/><\/p>\n<p>4) Click on the new tab of user variables<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-58982 size-full\" src=\"\/blog\/wp-ttn-blog\/uploads\/2023\/10\/4.png\" alt=\"\" width=\"589\" height=\"237\" srcset=\"\/blog\/wp-ttn-blog\/uploads\/2023\/10\/4.png 589w, \/blog\/wp-ttn-blog\/uploads\/2023\/10\/4-300x121.png 300w\" sizes=\"(max-width: 589px) 100vw, 589px\" \/><\/p>\n<p>5) Write the path in the variable name<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-58983 size-full\" src=\"\/blog\/wp-ttn-blog\/uploads\/2023\/10\/5.png\" alt=\"\" width=\"654\" height=\"168\" srcset=\"\/blog\/wp-ttn-blog\/uploads\/2023\/10\/5.png 654w, \/blog\/wp-ttn-blog\/uploads\/2023\/10\/5-300x77.png 300w, \/blog\/wp-ttn-blog\/uploads\/2023\/10\/5-624x160.png 624w\" sizes=\"(max-width: 654px) 100vw, 654px\" \/><\/p>\n<p>6) Copy the path of the bin folder<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-58984 size-full\" src=\"\/blog\/wp-ttn-blog\/uploads\/2023\/10\/6.png\" alt=\"\" width=\"700\" height=\"258\" srcset=\"\/blog\/wp-ttn-blog\/uploads\/2023\/10\/6.png 700w, \/blog\/wp-ttn-blog\/uploads\/2023\/10\/6-300x111.png 300w, \/blog\/wp-ttn-blog\/uploads\/2023\/10\/6-624x230.png 624w\" sizes=\"(max-width: 700px) 100vw, 700px\" \/><\/p>\n<p>7) Paste the path of the bin folder in the variable value<\/p>\n<p>8) Click on the OK button<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-58985 size-full\" src=\"\/blog\/wp-ttn-blog\/uploads\/2023\/10\/7.png\" alt=\"\" width=\"750\" height=\"215\" srcset=\"\/blog\/wp-ttn-blog\/uploads\/2023\/10\/7.png 750w, \/blog\/wp-ttn-blog\/uploads\/2023\/10\/7-300x86.png 300w, \/blog\/wp-ttn-blog\/uploads\/2023\/10\/7-624x179.png 624w\" sizes=\"(max-width: 750px) 100vw, 750px\" \/><\/p>\n<p>9) Click on the OK button<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-58987 size-full\" src=\"\/blog\/wp-ttn-blog\/uploads\/2023\/10\/9.png\" alt=\"\" width=\"548\" height=\"599\" srcset=\"\/blog\/wp-ttn-blog\/uploads\/2023\/10\/9.png 548w, \/blog\/wp-ttn-blog\/uploads\/2023\/10\/9-274x300.png 274w\" sizes=\"(max-width: 548px) 100vw, 548px\" \/><\/p>\n<h3><b>Step 2: Installing Android Studio:<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">&#8211; Download and install Android Studio from the official Android developer website. (https:\/\/developer.android.com\/studio)<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><span style=\"font-weight: 400;\">&#8211; Run the executable file and click &#8220;Next&#8221; to start the installation.<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><span style=\"font-weight: 400;\">&#8211; Accept the default installation settings for all steps.<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><span style=\"font-weight: 400;\">&#8211; Click &#8220;Finish&#8221; when the installation is done.<\/span><\/p>\n<h3><b>Step 3: Setting Up Android Environment:<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">&#8211; Once the installation of Android Studio is complete, set up the ANDROID_HOME environment variable by adding a new variable with the name ANDROID_HOME and the path to the Android SDK directory.<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><span style=\"font-weight: 400;\">&#8211; Update the PATH system variable by adding the bin directory of the Android SDK to the PATH.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Follow the steps below for ANDROID_HOME environment variable setup:<\/span><\/p>\n<ol>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Right-click My Computer and select Properties.<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">On the Advanced system settings, select Environment Variables\u2026 button.\u00a0<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Choose System variables &gt;&gt; Click on the New\u2026 button to add a new environment variable.<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Add ANDROID_HOME to point to where the Android SDK directory is installed.<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Click on the OK button to save the changes.<\/span><\/li>\n<\/ol>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-58989 size-full\" src=\"\/blog\/wp-ttn-blog\/uploads\/2023\/10\/20.png\" alt=\"\" width=\"823\" height=\"592\" srcset=\"\/blog\/wp-ttn-blog\/uploads\/2023\/10\/20.png 823w, \/blog\/wp-ttn-blog\/uploads\/2023\/10\/20-300x216.png 300w, \/blog\/wp-ttn-blog\/uploads\/2023\/10\/20-768x552.png 768w, \/blog\/wp-ttn-blog\/uploads\/2023\/10\/20-624x449.png 624w\" sizes=\"(max-width: 823px) 100vw, 823px\" \/><\/p>\n<h3><b>Step 4: Installing Node.js and npm:<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">&#8211; Go to the official Node.js website and download the latest version of Node.js. (https:\/\/nodejs.org\/en\/download)<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><span style=\"font-weight: 400;\">&#8211; Run the Node.js installer and follow the instructions to complete the installation.<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><span style=\"font-weight: 400;\">&#8211; Verify the installation by opening the terminal or command prompt and running the commands: node -v and npm -v. The installed versions of Node.js and npm should be displayed if the installation was successful.<\/span><\/p>\n<h2><b>Step 5: Installing Appium Server:<\/b><\/h2>\n<p><span style=\"font-weight: 400;\">&#8211; Open the terminal or command prompt.<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><span style=\"font-weight: 400;\">&#8211; Run the command: npm install -g appium to install the Appium server globally. This will download and install the necessary dependencies.<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><span style=\"font-weight: 400;\">&#8211; Wait for the installation to complete successfully.<\/span><\/p>\n<h2><b>Step 6: Installing Appium Client Libraries:<\/b><\/h2>\n<p><span style=\"font-weight: 400;\">&#8211; Depending on the programming language you prefer (Java, Python, etc.), you need to install the respective Appium client libraries using a package manager (e.g., Maven for Java, pip for Python).<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><span style=\"font-weight: 400;\">&#8211; Refer to the official Appium documentation for detailed instructions on installing the client libraries specific to your programming language.<\/span><\/p>\n<h2><b>Conclusion:<\/b><\/h2>\n<p><span style=\"font-weight: 400;\">Following these detailed installation steps, you should have Appium properly set up on your machine. Happy testing!<\/span><\/p>\n<div class=\"ap-custom-wrapper\"><\/div><!--ap-custom-wrapper-->","protected":false},"excerpt":{"rendered":"<p>Appium is a powerful open-source automation framework that has gained immense popularity among developers and testers for mobile app testing. However, getting started with Appium setup can be a daunting task for beginners. In this blog, we will walk you through a step-by-step guide to simplify the process and help make your Appium setup easier. [&hellip;]<\/p>\n","protected":false},"author":1660,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"iawp_total_views":77},"categories":[1816],"tags":[3762],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/posts\/58990"}],"collection":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/users\/1660"}],"replies":[{"embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/comments?post=58990"}],"version-history":[{"count":2,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/posts\/58990\/revisions"}],"predecessor-version":[{"id":59267,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/posts\/58990\/revisions\/59267"}],"wp:attachment":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/media?parent=58990"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/categories?post=58990"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/tags?post=58990"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}