You should research using your Mac terminal shell and how to navigate your directories, find files, and run them. This is currently what you don’t understand and this is something you need to learn. And the best way is through experience and practice. When you have a question about using the shell do a Google search, watch some youtube videos, read some beginner blogs. This is something I had to learn as a child and I didn’t have internet to figure it out. Take your time experimenting and you will learn it well.