Use the depot stack? See the DEPOT_PATH
variable in Julia or use the JULIA_DEPOT_PATH
environment variable.
https://docs.julialang.org/en/v1/manual/environment-variables/#JULIA_DEPOT_PATH
https://docs.julialang.org/en/v1/base/constants/#Base.DEPOT_PATH
Only the first depot is writable. The others should be read only.