How to Install and Configure Gradle on Windows

How to Install and Configure Gradle on Windows

How to Install and Configure Gradle on Windows. gradle is a build automation system. Today’s apps, for example an Android app, are not structurally as simple as they were fifteen years ago.

In the past, program code was written by a programmer and executed after compilation. But today, a programmer needs to perform various operations before running a program to create program executable files such as an apk or exe file. Note that the programmer must repeat this operation after each change in the program to re-run.

This operation is called construction operation. The time consuming, complexity, and variety of the manufacturing process has led programmers to build automated manufacturing systems such as gradle.

Because build automation is an integral part of the consistent delivery of software projects, Gradle integrates seamlessly with multiple IDE’s, including Android Studio. This tutorial covers the manual installation of Gradle on Windows.


You can Choose your perfect Windows VPS Server Packages from eldernode.

Recommended Article: How to Install and Configure Hyper-V on Windows Server 2019

Download the Latest Gradle

1. Open the command prompt from the Start menu. Then create a directory for Gradle to land:

C:\Users\Administrator>mkdir C:\Gradle

2. Run the following command to insert Gradle into the folder you just created:

C:\Users\Administrator>curl -L --output C:\Gradle\    % Total % Received % Xferd Average Speed Time Time Time Current  Dload Upload Total Spent Left Speed  0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0  100 97.6M 100 97.6M 0 0 97.6M 0 0:00:01 0:00:01 --:--:-- 115M

3. Now, open an instance of File Explorer and navigate to the C:\Gradle directory.


install and configure gradle on windows-1


4. Next, extract the file by right-clicking the file and selecting Extract All….

Note: Before hitting the Extract button, adjust the path to extract the files directly to the Gradle directory.

5. The extraction should look like it does in the below image. Once it does, hit the Extract button:


install and configure gradle on windows-2


6. Gradle successfully installed. It’s time to set up the Environmental Variable for it. To do this, right-click on This PC and click Properties.


install and configure gradle on windows-3


7. Select Advanced system settings from the left column:


install and configure gradle on windows-4


8. In the window that opens, click on Environment Variables.


install and configure gradle on windows-5


9. Find Path under the System variables header and select it and hit the Edit button:


install and configure gradle on windows-6


10. Then in the window that opens, click on New and enter C:\Gradle\gradle-6.5\bin.

11. Click OK to save the new variable.


install and configure gradle on windows-7


Verify Gradle Installation

To verify that Gradle has been installed and is available, open a new one, and run the following command:

C:\Users\Administrator>gradle -v    Welcome to Gradle 6.5!  Here are the highlights of this release:  - Experimental file-system watching  - Improved version ordering  - New samples  For more details see    ------------------------------------------------------------  Gradle 6.5  ------------------------------------------------------------    Build time: 2020-06-02 20:46:21 UTC  Revision: a27f41e4ae5e8a41ab9b19f8dd6d86d7b384dad4  Kotlin: 1.3.72  Groovy: 2.5.11  Ant: Apache Ant(TM) version 1.10.7 compiled on September 1 2019  JVM: 14.0.1 (Oracle Corporation 14.0.1+7)  OS: Windows Server 2019 10.0 amd64

Gradle is now installed!


Dear user, we hope you would enjoy this tutorial, you can ask questions about this training in the comments section, or to solve other problems in the field of Eldernode training, refer to the Ask page section and raise your problem in it as soon as possible. Make time for other users and experts to answer your questions.


How useful was this post?

Click on a star to rate it!

Average rating 1 / 5. Vote count: 1

No votes so far! Be the first to rate this post.

We Are Waiting for your valuable comments and you can be sure that it will be answered in the shortest possible time.

Leave a Reply

Your email address will not be published. Required fields are marked *

We are by your side every step of the way

Think about developing your online business; We will protect it compassionately

We are by your side every step of the way


7 days a week, 24 hours a day