Are those other users also researchers or students?
I am/was in a similar situation, see Best practices to share simulations with collaborators?
In my experience, it is less error-prone to ask someone to install Julia in the traditional way compared to running a special script XY.
I use these steps on Windows:
- Tell the user install Julia and click on add to PATH during the installation.
- Provide simple bat scripts to execute the scripts.
- I use PackageCompiler to speed up everything, so, there is one bat script to generate an image.
(There are also juliaup and juliawin which aim at simplifying the installation on Windows.)
On a Linux cluster, the user might be experienced enough to install a Julia distribution in the home directory? The collision of the depot directory should usually be handled by Julia itself, you can install several Julia versions on the same computer.
I have no experience with MacOS.