How to Install Gradle on Windows - Step-by-Step Guide

How to Install Gradle on Windows - Step-by-Step Guide person Vishnu Hari | Published: Sat Sep 2023

Gradle, a powerful build automation tool, streamlines your development process and project management with its user-friendly approach.

Download Gradle

Step 1: Begin by downloading Gradle from the official site. Simply follow the provided link to access the download page.

Step 2: Once the download is complete, unzip the file to your preferred location.

Set Gradle Path in Windows

1. Find "Edit Environment Variables": Start by searching for "Edit Environment Variables" on your Windows and choose "Edit Environment Variables for your account."

2. Create a New Variable: Click on "New" under User Variables. In the variable name field, type ‘GRADLE_HOME’ and in the value field, put the path to your Gradle folder. Then click 'OK.'

3. Update the Path Variable: Locate "Path" under User Variables, click on "Edit," then "New." Add the path to your Gradle bin folder and confirm with "OK."

4. Check Your Gradle Installation: Open the command prompt and type 'gradle -version' to ensure your Gradle installation is on track.