# Installing on OSX

**URL:** <https://discuss.gradle.org/t/installing-on-osx/1699>\
**Category:** Old Forum Archive\
**Created:** [July 1, 2013, 7:26pm UTC](https://discuss.gradle.org/t/installing-on-osx/1699 "2013-07-01T19:26:00Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![gandharva\_kumar](https://sea1.discourse-cdn.com/gradle/user_avatar/discuss.gradle.org/gandharva_kumar/32/437_2.png) [@gandharva\_kumar](https://discuss.gradle.org/u/gandharva_kumar)\
**Post date:** [July 1, 2013, 7:26pm UTC](https://discuss.gradle.org/t/installing-on-osx/1699/1 "2013-07-01T19:26:00Z")

</div>

I’m trying to install gradle on OSX 10.8. I downloaded the latest version 1.6. Unzip in /usr/local/ and added the path.

But it doesn’t work when I type gradle in terminal. I even tried to navigate to the bin folder of gradle and execute it. It just says that command not found.

If I type sudo sh gradle, then it works, but only from the bin folder. It also works if I chmod 755 -R gradle/\*, but again, only from the bin folder.

What am I doing wrong? How can I make it run just by typing ‘gradle’?

---

<div class="post-metadata">

**Author:** ![luke\_daley](https://sea1.discourse-cdn.com/gradle/user_avatar/discuss.gradle.org/luke_daley/32/9890_2.png) [@luke\_daley](https://discuss.gradle.org/u/luke_daley)\
**Post date:** [July 2, 2013, 10:51am UTC](https://discuss.gradle.org/t/installing-on-osx/1699/2 "2013-07-02T10:51:00Z")

</div>

You haven’t configured your PATH correctly. You need to add $GRADLE\_HOME/bin, not $GRADLE\_HOME.

---

<div class="post-metadata">

**Author:** ![gandharva\_kumar](https://sea1.discourse-cdn.com/gradle/user_avatar/discuss.gradle.org/gandharva_kumar/32/437_2.png) [@gandharva\_kumar](https://discuss.gradle.org/u/gandharva_kumar)\
**Post date:** [July 2, 2013, 3:54pm UTC](https://discuss.gradle.org/t/installing-on-osx/1699/3 "2013-07-02T15:54:00Z")

</div>

Did that too. Stil not working.

---

<div class="post-metadata">

**Author:** ![luke\_daley](https://sea1.discourse-cdn.com/gradle/user_avatar/discuss.gradle.org/luke_daley/32/9890_2.png) [@luke\_daley](https://discuss.gradle.org/u/luke_daley)\
**Post date:** [July 2, 2013, 4:04pm UTC](https://discuss.gradle.org/t/installing-on-osx/1699/4 "2013-07-02T16:04:00Z")

</div>

I’m unsure. I use Mac OS 10.8 and so do many other people.

Maybe try installing via [GVM](http://gvmtool.net/) as it will set this stuff up for you.
