# Installing Root on macOS

**URL:** <https://root-forum.cern.ch/t/installing-root-on-macos/47036>\
**Category:** Newbie\
**Created:** [September 28, 2021, 10:06pm UTC](https://root-forum.cern.ch/t/installing-root-on-macos/47036 "2021-09-28T22:06:09Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bellona](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/b/7feea3/32.png) [@Bellona](https://root-forum.cern.ch/u/Bellona)\
**Post date:** [September 28, 2021, 10:06pm UTC](https://root-forum.cern.ch/t/installing-root-on-macos/47036/1 "2021-09-28T22:06:10Z")

</div>

* * *

\_Please read [tips for efficient and successful posting]

\_ROOT Version: 6.24.04  
\_Platform: macOS 10.14.6  
\_Compiler: Xcode 10.0

* * *

Hi, I installed root using homebrew. I was following a youtube tutorial for the installation ( ROOT INSTALLATION MAC OSX 2021 - by odylalala), but when I got to the last step, opening root I got an error (I sent a picture of it). Could you please help me?

 ![Screen Shot 2021-09-28 at 11.51.53 PM](https://root-forum.cern.ch/uploads/default/original/3X/7/9/79ec8253d8d472dc48a9e30eff254eaca365f4f1.jpeg)

---

<div class="post-metadata">

**Author:** ![couet](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/couet/32/12037_2.png) [@couet](https://root-forum.cern.ch/u/couet)\
**Post date:** [September 29, 2021, 7:27am UTC](https://root-forum.cern.ch/t/installing-root-on-macos/47036/2 "2021-09-29T07:27:13Z")

</div>

We have an install page here: [Installing ROOT - ROOT](https://root.cern/install/)

---

<div class="post-metadata">

**Author:** ![Bellona](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/b/7feea3/32.png) [@Bellona](https://root-forum.cern.ch/u/Bellona)\
**Post date:** [October 1, 2021, 12:15pm UTC](https://root-forum.cern.ch/t/installing-root-on-macos/47036/3 "2021-10-01T12:15:35Z")

</div>

Thank you for your answer. I used that line to install it (before and I tried again, I also reinstalled it), the terminal tells me that root is already installed, but when I type in root (to start it) I’m getting the same error as on the image I sent.

---

<div class="post-metadata">

**Author:** ![eguiraud](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/eguiraud/32/32217_2.png) [@eguiraud](https://root-forum.cern.ch/u/eguiraud)\
**Post date:** [October 1, 2021, 12:24pm UTC](https://root-forum.cern.ch/t/installing-root-on-macos/47036/4 "2021-10-01T12:24:13Z")

</div>

Hi @Bellona ,  
this seems to be an issue with the homebrew package rather than ROOT itself, please report it to the homebrew maintainers.

@henryiii might be able to help.

---

<div class="post-metadata">

**Author:** ![henryiii](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/henryiii/32/14065_2.png) [@henryiii](https://root-forum.cern.ch/u/henryiii)\
**Post date:** [October 1, 2021, 2:02pm UTC](https://root-forum.cern.ch/t/installing-root-on-macos/47036/5 "2021-10-01T14:02:51Z")

</div>

I’d recommend being on at least macOS 10.15, 10.14 is the oldest supported macOS and macOS 12 is coming out soon, so I expect homebrew will drop 10.14 when 12 lands. They probably can only afford to build the last 3 versions + Apple Silicon, and the next version will add two builds again instead of one (due to Apple Silicon). Anyway,

Do you have Xcode? When I run this, I see the path does exist:

```auto
$ ls /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/
Entitlements.plist SDKSettings.json SDKSettings.plist System usr

```

If you don’t have Xcode, you can’t use ROOT, it needs a (full) compiler.

---

<div class="post-metadata">

**Author:** ![Bellona](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/b/7feea3/32.png) [@Bellona](https://root-forum.cern.ch/u/Bellona)\
**Post date:** [October 1, 2021, 4:04pm UTC](https://root-forum.cern.ch/t/installing-root-on-macos/47036/6 "2021-10-01T16:04:44Z")

</div>

Hi, I did install Xcode. I found a tutorial on youtube that has something that I think will help me so I will try it. Hope it works

---

<div class="post-metadata">

**Author:** ![Bellona](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/b/7feea3/32.png) [@Bellona](https://root-forum.cern.ch/u/Bellona)\
**Post date:** [October 1, 2021, 4:07pm UTC](https://root-forum.cern.ch/t/installing-root-on-macos/47036/7 "2021-10-01T16:07:28Z")

</div>

Also, I’m new in this. So could you recommend to me some tutorials for using root on macos with xcode? I only found 2 videos on youtube by [Sina Moghimi].

---

<div class="post-metadata">

**Author:** ![Axel](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/axel/32/11084_2.png) [@Axel](https://root-forum.cern.ch/u/Axel)\
**Post date:** [October 4, 2021, 7:30am UTC](https://root-forum.cern.ch/t/installing-root-on-macos/47036/8 "2021-10-04T07:30:03Z")

</div>

Using ROOT on MacOS isn’t any different from using ROOT on any other OS. As a good starting point you might want to look at our (reworked!) [manual page](https://root.cern/manual).
