I think I have seen two different, unrelated projects that use
~/.julia/bin as a default directory for putting scripts and CLIs (and there might be others that I don’t know about):
I’m considering using such a convention in a project of mine as well, which led me to wonder:
- Is this a (possibly emerging) standard practice?
- Should we expect users to add this directory to their
- And should we document this convention?
This might be a bit far fetched, but I tend to also relate this question to recurrent discussions about the best way to upgrade Julia (for example this one, following the release of v1.5.1): if it was common practice to add
~/.julia/bin to the
PATH, then this would make it easier to have plug & play tooling that downloads a new version of julia and puts the relevant symlinks in there.
(PS: I’m using UNIX-like vocabulary here because that’s what I’m used to, but the idea should generalize to Windows as well)