# Init.rb file location

**URL:** <https://in-thread.sonic-pi.net/t/init-rb-file-location/5972>\
**Category:** Support, Help & Resources\
**Created:** [September 16, 2021, 5:08am UTC](https://in-thread.sonic-pi.net/t/init-rb-file-location/5972 "2021-09-16T05:08:46Z")\
**Posts on this page:** 4\
**Page:** 2

<div class="post-metadata">

**Author:** ![nlb](https://dub1.discourse-cdn.com/flex017/user_avatar/in-thread.sonic-pi.net/nlb/32/997_2.png) [@nlb](https://in-thread.sonic-pi.net/u/nlb)\
**Post date:** [October 2, 2021, 7:13am UTC](https://in-thread.sonic-pi.net/t/init-rb-file-location/5972/21 "2021-10-02T07:13:21Z")

</div>

> [@nlb](#):
>
> can you send us a tree command result of your .sonicpi ?

it would be better than any screenshot picture…

> **[Tree command in Linux with examples - GeeksforGeeks](https://www.geeksforgeeks.org/tree-command-unixlinux/)**
>
> A Computer Science portal for geeks. It contains well written, well thought and well explained computer science and programming articles, quizzes and practice/competitive programming/company interview Questions.

and you will learn a new linux command (will not overload servers consuming energy with pictures - 1 Earth - not 2).

Cheers

---

<div class="post-metadata">

**Author:** ![xavibove](https://avatars.discourse-cdn.com/v4/letter/x/8baadc/32.png) [@xavibove](https://in-thread.sonic-pi.net/u/xavibove)\
**Post date:** [November 19, 2023, 10:08am UTC](https://in-thread.sonic-pi.net/t/init-rb-file-location/5972/22 "2023-11-19T10:08:09Z")

</div>

Hello Sam,  
We are running Sonic Pi on iOS. We would like to have a standalone installation, automatically run when Mac mini startup. I have tried to put the code on init.rb, but is does nothing (no dispalyed, not run), I have placed de new init.rb in different location on the computer, but does nothing on startup. Any clue? I just need to run the code automatically. Many thanks!

---

<div class="post-metadata">

**Author:** ![xavibove](https://avatars.discourse-cdn.com/v4/letter/x/8baadc/32.png) [@xavibove](https://in-thread.sonic-pi.net/u/xavibove)\
**Post date:** [November 19, 2023, 11:32am UTC](https://in-thread.sonic-pi.net/t/init-rb-file-location/5972/24 "2023-11-19T11:32:40Z")

</div>

Found! The folder is hidden by default on Mac (starting with a dot). I had to type the address on Finder → Go to folder. I hope it will help other users on iOS. Thansk!

---

<div class="post-metadata">

**Author:** ![robin.newman](https://avatars.discourse-cdn.com/v4/letter/r/76d3ee/32.png) [@robin.newman](https://in-thread.sonic-pi.net/u/robin.newman)\
**Post date:** [November 19, 2023, 2:19pm UTC](https://in-thread.sonic-pi.net/t/init-rb-file-location/5972/25 "2023-11-19T14:19:08Z")

</div>

You can make hidden folders visible on a Mac by thodlign down Shift + Command and typing a full stop . This toggles hiddenon/off each time you use it (works for recent Mac OS)

[Previous page](https://in-thread.sonic-pi.net/t/init-rb-file-location/5972.md?page=1)
