How do people help MacOS GUI applications find user-installed executables on the
system?

@apple_enthusiast

I have been helping a friend with a very modern Macintosh follow
@bounga's tip
(https://www.bounga.org/tips/2020/04/07/instructs-mac-os-gui-apps-about-path-environment-variable/),
but it does not seem to work anymore. Which is weird, since it was updated in
July 2023.

#MacOS

Set system-wide PATH environment variable for Mac OS GUI apps

A lot of people struggles to find how to instruct their Mac OS GUI apps to be aware of their PATH environment variable. Sometimes when you install GUI apps they try to use a binary which is installed on your system but for some reason it can’t be found. Let’s fix that.

Bounga's Home
@foxy @apple_enthusiast @bounga I think you will find the current way for MacOS applications to find user-installed executables on the system is to add a file to /etc/paths.d/ That file should contain a list of paths, one per line, where user-installed executables related to the application are found. Recent macOS itself does this with a file named 10-cryptex containing paths related to apple security updates. (1/2)
https://www.tweaking4all.com/forum/macos-x-software/macos-how-to-add-a-path-to-path-using-etc-paths-d/ describes this and, on my mac, several other applications (including podman and littlesnitch) have added files there. (2/2)
macOS - How to add a path to $PATH using /etc/paths.d

Sometimes we want to add a path to the environment variable $PATH, so when typing a statement in Terminal, the command will be found. As an example,...

Tweaking4All.com
@jwd630 Thanks!
So three Apple solutions out of three involve system-wide changes? :O