Gradle not working on OSX

When I run the gradle script (on my Mac), it says “Welcome to Gradle 1.12.” and “BUILD SUCCESSFUL”, but when I try to run a command like <gradle -version>, I get <-bash: gradle: command not found>

Please help, Thank you

You either need to put the Gradle installation’s ‘bin’ directory on your OS path, or (preferably) generate a ‘gradlew’ script for the build. For the latter, see the “Gradle Wrapper” chapter in the Gradle User Guide.