In this tutorial, we will see how to install Gradle on Windows 10 operating system.

Prerequisites:

  • Gradle runs on almost major operating systems.
  • Gradle required Java JDK/JRE version 8 or higher.

Versions:

  • Windows 10 Pro 64 bit operating system
  • Gradle 5.4.1
  • Java 1.8

Install Gradle on Windows 10:

Here are the simple steps to download and install the Gradle on windows 10.

1. Get Gradle:

Download the latest Gradle distributions from the official website; for me, it is 5.4.1.

How to install Gradle on Windows 10-min

Click on the above complete link to download Gradle; it will be downloaded as a .zip file.

2. Extract the File:

After successfully download, extract the Gradle-5.4.1-all.zip.

How to install Gradle on Windows 10 2-min

If everything went well, you could see the below folders under the Gradle root directory.

How to install Gradle on Windows 10 7-min

3. Set Gradle Path:

Setting the Gradle path under User variables.

Go to Advanced System Settings -> Click on Environment Variables -> then you could see the below window.

How to install Gradle on Windows 10 3-min

Select the Path under the User variables section and click on the Edit button.

How to install Gradle on Windows 10 4-min

Click on the New button.

How to install Gradle on Windows 10 5-min

Fill the Gradle path until /bin and click on Ok and Close.

That’s it; now you have successfully installed and set up the Gradle on your Windows Operating System.

4. Verify:

To verify the setup- Open command prompt and check for the gradle -version like below.

How to install Gradle on Windows 10 6-min

If you see the above output; your installation process is done.

References:

Happy Learning 🙂