Here are a few newcomers from those who spent 15 years coding on Windows but starting from scratch on Mac OS X. I searched the Internet and this site and did not find the answers, but I think the answers will be useful to many people.
Very simple....
Where should I store private code and projects in the file system? My user directory? In / usr /?
Where should I store shared code and projects?
Where should I create a github repository?
after assembly, where should I install the applications? Here I see many opportunities. / opt /, / var / lib, / usr / local / var, etc.
perhaps the most interesting: how can I get a simple run of the location of everything that was installed on my Mac?
I would suggest that over 40 years of UNIX history, standards have appeared for them, but so far I have not been able to find them. There should be some โbest practiceโ recommendations that I must follow.
Oh, by the way, I'm talking about things like PostgreSQL, etc. Invalid Mac apps.
The reason I'm asking is because I came across various ways to install things that seem to have their own ideas on where to install the same application. e.g. homebrew, ant etc. They sometimes lead to different installation locations than in accordance with the FAQ or documentation for manual installation of the application.
Rate any answers to them.
Many thanks.
Bit rocker
source share