# Having a hard time running root

**URL:** <https://root-forum.cern.ch/t/having-a-hard-time-running-root/34673>\
**Category:** Newbie\
**Created:** [June 18, 2019, 7:33pm UTC](https://root-forum.cern.ch/t/having-a-hard-time-running-root/34673 "2019-06-18T19:33:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ROGER10](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/r/a6a055/32.png) [@ROGER10](https://root-forum.cern.ch/u/ROGER10)\
**Post date:** [June 18, 2019, 7:33pm UTC](https://root-forum.cern.ch/t/having-a-hard-time-running-root/34673/1 "2019-06-18T19:33:12Z")

</div>

Hello, I recently installed root and all of the components needed for me to run it on my mac. Everything went well while building and I was able to run root the first time. I restarted my mac while trying to install some updates, and when I tried running root from the terminal like I did when I first installed it it would not do it. It tells me that the command does not exist and when I use the command ‘more root’ it says root is a directory and I’m not quite sure how to go about running the program again. Any help would be greatly appreciated, this is my first time using the terminal on my mac and this software, and I’m trying to find my way around it. Thanks!

---

<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:** [June 18, 2019, 9:38pm UTC](https://root-forum.cern.ch/t/having-a-hard-time-running-root/34673/2 "2019-06-18T21:38:08Z")

</div>

Hi,  
I’m not a mac user so I’m not 100% sure, but it could be that you just need to call `source root/bin/thisroot.sh` to put your root installation in your `PATH` (~ in the list of available applications). If you put that line in a file called `.bashrc` in your home directory, it will be executed every time a shell is opened and ROOT will always be in your PATH.

Hope this helps!  
Cheers,  
Enrico
