# Add Slicer Nightly to Homebrew (macOS)

**URL:** <https://discourse.slicer.org/t/add-slicer-nightly-to-homebrew-macos/811>\
**Category:** Development\
**Created:** [August 2, 2017, 7:43pm UTC](https://discourse.slicer.org/t/add-slicer-nightly-to-homebrew-macos/811 "2017-08-02T19:43:17Z")\
**Posts on this page:** 11\
**Page:** 2

<div class="post-metadata">

**Author:** ![Fernando](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/fernando/32/5640_2.png) [@Fernando](https://discourse.slicer.org/u/Fernando)\
**Post date:** [August 15, 2017, 9:47pm UTC](https://discourse.slicer.org/t/add-slicer-nightly-to-homebrew-macos/811/21 "2017-08-15T21:47:44Z")

</div>

I think I’m missing something. In my head there are actually four scripts:

- Slicer maintainers

- Slicer users

I’m working of the maintainers part, I don’t know if the users side should be also added to the wiki.

---

<div class="post-metadata">

**Author:** ![Fernando](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/fernando/32/5640_2.png) [@Fernando](https://discourse.slicer.org/u/Fernando)\
**Post date:** [August 15, 2017, 10:01pm UTC](https://discourse.slicer.org/t/add-slicer-nightly-to-homebrew-macos/811/22 "2017-08-15T22:01:02Z")

</div>

I created a first version of the page, feel free to edit!

---

<div class="post-metadata">

**Author:** ![jcfr](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/jcfr/32/17825_2.png) [@jcfr](https://discourse.slicer.org/u/jcfr)\
**Post date:** [August 15, 2017, 10:01pm UTC](https://discourse.slicer.org/t/add-slicer-nightly-to-homebrew-macos/811/23 "2017-08-15T22:01:47Z")

</div>

Thanks clarifying.

> I’m working of the maintainers part

👍

> the users side should be also added to the wiki.

We could probably add the info on [download.slicer.org](http://download.slicer.org)

---

<div class="post-metadata">

**Author:** ![Fernando](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/fernando/32/5640_2.png) [@Fernando](https://discourse.slicer.org/u/Fernando)\
**Post date:** [August 15, 2017, 10:04pm UTC](https://discourse.slicer.org/t/add-slicer-nightly-to-homebrew-macos/811/24 "2017-08-15T22:04:30Z")

</div>

> [@jcfr](#):
>
> We could probably add the info on [download.slicer.org](http://download.slicer.org)

I hope you can figure out that part from the users steps I wrote on the wiki.

Thanks for the feedback and help @jcfr 👍

---

<div class="post-metadata">

**Author:** ![jcfr](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/jcfr/32/17825_2.png) [@jcfr](https://discourse.slicer.org/u/jcfr)\
**Post date:** [August 15, 2017, 10:05pm UTC](https://discourse.slicer.org/t/add-slicer-nightly-to-homebrew-macos/811/25 "2017-08-15T22:05:43Z")

</div>

> [@Fernando](#):
>
> I created a first version of the page, feel free to edit!

Well done. I will give a try tonight or tomorrow.

Is it possible to install homebrew in a specific folder (e.g `/Volumes/Dashboards/Support/Homebrew`) so that it doesn’t “pollute” the PATH and does not install anything in folder like `/usr`, `/usr/lib`, … ?

---

<div class="post-metadata">

**Author:** ![Fernando](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/fernando/32/5640_2.png) [@Fernando](https://discourse.slicer.org/u/Fernando)\
**Post date:** [August 15, 2017, 10:20pm UTC](https://discourse.slicer.org/t/add-slicer-nightly-to-homebrew-macos/811/26 "2017-08-15T22:20:38Z")

</div>

`brew` doesn’t `sudo`, I think it installs stuff in its own libraries directory. There are some good answers for that here:

> **[FAQ](https://docs.brew.sh/FAQ.html)**
>
> Documentation for the missing package manager for macOS.

I’m sorry I can’t help you much more about that topic, I’m still very new about this.

---

<div class="post-metadata">

**Author:** ![fedorov](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/fedorov/32/14_2.png) [@fedorov](https://discourse.slicer.org/u/fedorov)\
**Post date:** [August 23, 2017, 9:43pm UTC](https://discourse.slicer.org/t/add-slicer-nightly-to-homebrew-macos/811/27 "2017-08-23T21:43:06Z")

</div>

For those interested, see related discussion in [Slicer installation on Mac using homebrew](https://discourse.slicer.org/t/slicer-installation-on-mac-using-homebrew/933)

---

<div class="post-metadata">

**Author:** ![wmwf](https://avatars.discourse-cdn.com/v4/letter/w/aca169/32.png) [@wmwf](https://discourse.slicer.org/u/wmwf)\
**Post date:** [October 30, 2017, 12:42pm UTC](https://discourse.slicer.org/t/add-slicer-nightly-to-homebrew-macos/811/28 "2017-10-30T12:42:13Z")

</div>

“jcfr” Seconded, can we install homebrew in a specific folder? This will very much help to keep things more organized.

Regards  
[wf](https://www.weber-financial.com)

---

<div class="post-metadata">

**Author:** ![Fernando](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/fernando/32/5640_2.png) [@Fernando](https://discourse.slicer.org/u/Fernando)\
**Post date:** [October 30, 2017, 12:57pm UTC](https://discourse.slicer.org/t/add-slicer-nightly-to-homebrew-macos/811/29 "2017-10-30T12:57:28Z")

</div>

> [@wmwf](#):
>
> can we install homebrew in a specific folder? This will very much help to keep things more organized.

Please see their comments about that on [Installation — Homebrew Documentation](https://docs.brew.sh/Installation.html)

---

<div class="post-metadata">

**Author:** ![KHATRINA](https://avatars.discourse-cdn.com/v4/letter/k/58f4c7/32.png) [@KHATRINA](https://discourse.slicer.org/u/KHATRINA)\
**Post date:** [December 20, 2018, 6:09pm UTC](https://discourse.slicer.org/t/add-slicer-nightly-to-homebrew-macos/811/30 "2018-12-20T18:09:22Z")

</div>

Thanks for the the note. (For the record, I naively downloaded the script on linux … [iTunes](https://downloader.vip/itunes/) [Mobdro](https://inro.in/mobdro/)[TutuApp](https://inro.in/tutuapp/)but realized soon enough brew executable was required)

![](https://sea2.discourse-cdn.com/flex020/user_avatar/discourse.slicer.org/fernando/40/25_1.png) Fernando:

---

<div class="post-metadata">

**Author:** ![Fernando](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/fernando/32/5640_2.png) [@Fernando](https://discourse.slicer.org/u/Fernando)\
**Post date:** [December 20, 2018, 7:23pm UTC](https://discourse.slicer.org/t/add-slicer-nightly-to-homebrew-macos/811/31 "2018-12-20T19:23:42Z")

</div>

I use this script to update Slicer automatically on Linux. You might find it interesting.

> <https://gist.github.com/fepegar/f49c5062695562370a76222dada47e47>

[Previous page](https://discourse.slicer.org/t/add-slicer-nightly-to-homebrew-macos/811.md?page=1)
