Find installed Gradle version command


To know the installed version of Gradle on your computer you can run command gradle --version in Terminal or Command Line.

# gradle --version
Output:
------------------------------------------------------------
Gradle 6.8.3
------------------------------------------------------------

Build time:   2021-02-22 16:13:28 UTC
Revision:     9e26b4a9ebb910eaa1b8da8ff8575e514bc61c78

Kotlin:       1.4.20
Groovy:       2.5.12
Ant:          Apache Ant(TM) version 1.10.9 compiled on September 27 2020
JVM:          11.0.10 (JetBrains s.r.o 11.0.10+9)
OS:           Mac OS X 11.2.3 aarch64

If you get command not found: gradle, then you might have one of the below issues,

  1. Make sure Gradle is set in PATH variable: export PATH=$PATH:/opt/gradle/gradle-6.8.3/bin, check this article for more details: https://code2care.org/tutorial/installing-gradle-on-macos-gradle-tutorial
  2. Make sure JAVA_HOME variable is set: https://code2care.org/pages/setting-java_home-environment-variable-on-windows-operating-system
Know Installed Gradle Version
Know Installed Gradle Version
Advertisements
Try Out Code2care Dev Tools:

Advertisements



Android Java Linux Microsoft Google Python macOS Notepad++ Microsoft Teams CSS PHP SharePoint Html Linux C Programs Bootstrap jQuery Sublime Android Studio Facebook Eclipse WhatsApp News MySQL Json HowTos JavaScript FTP S3


Advertisements


Code2care is an initiative to publish and share varied knowledge in programming and technical areas gathered during day-to-day learnings and development activities.

Students and Software Developers can leverage this portal to find solutions to their various queries without re-inventing the wheel by referring to our easy to understand posts. Technical posts might include Learnings, Tutorials, Trouble-Shooting steps, Video Tutorials, Code Snippets, How Tos, Blogs, Articles, etc.
🎉 We are celebrating the 10th years of Code2care! Thank you for all your support! We hope we made a difference.
We strong support Gender Equality & Diversity.

We stand in solidarity with Ukraine - Make a donation to UNHCR - https://donate.unhcr.org/in/en-in/ukraine-emergency