How to install Gradle?

Step – 1: Install Required version of JAVA

Step – 2: Downlod and Extract

$ mkdir /opt/gradle
$ wget https://services.gradle.org/distributions/gradle-7.1.1-bin.zip
$ unzip -d /opt/gradle gradle-7.1.1-bin.zip 
$ ls /opt/gradle/gradle-7.1.1
LICENSE  NOTICE  bin  getting-started.html  init.d  lib  media

Step – 3: Set gradle into a path

$ export PATH=$PATH:/opt/gradle/gradle-7.1.1/bin
$ gradle -version
$ gradle -help

Rajesh Kumar
Follow me