How to Install and Configure Gradle


In this video, we describe how to install and configure Gradle on Linux, Mac and Windows.

Commands used:

Linux/Mac:
mkdir /opt/gradle
curl -L https://services.gradle.org/distributions/gradle-6.5-bin.zip –output gradle.zip
unzip -d /opt/gradle/ gradle.zip
apt install unzip
echo PATH=$PATH:/opt/gradle/gradle-6.5/bin > /etc/profile.d/gradle.sh
source /etc/profile.d/gradle.sh
gradle -v

Windows:
mkdir C:Gradle
curl -L https://services.gradle.org/distributions/gradle-6.5-bin.zip –output C:Gradlegradle.zip
navigate to the C:Gradle directory
right-clicking the file and selecting “Extract All
Right-click “This PC” in the File Explorer and select “Properties”:
In the System menu, select Advanced system settings
In the System Properties dialog hit the “Environment Variables…” button
Find “Path” under the “System variables” header and select it and hit the “Edit” button
After that, hit the “New” button enter C:Gradlegradle-6.5bin then hit the “OK” button to save the new variable
gradle -v

The related article for this article can be found here: https://www.liquidweb.com/kb/how-to-install-and-configure-gradle/

For more information about this and other topics, visit us at https://www.liquidweb.com/kb/ or to learn more about our Managed Applications,
visit: https://www.liquidweb.com/products/managed-wordpress/ or https://www.liquidweb.com/products/managed-woocommerce-hosting/

Video by: Justin Palmer


Duration: 00:03:24
Publisher: Liquid Web
You can watch this video also at the source.