Using Julia on a HPC setup:
[jiling]~% which julia
/cvmfs/sft.cern.ch/lcg/views/LCG_101/x86_64-centos7-gcc8-opt/bin/julia
[jiling]~% echo $JULIA_DEPOT_PATH
/afs/cern.ch/user/j/jiling/.julia:/cvmfs/sft.cern.ch/lcg/views/LCG_101/x86_64-centos7-gcc8-opt/share/julia
[jiling]~% julia --startup-file=no -e 'using Pkg; Pkg.add("Revise")'
Resolving package versions...
Installed Requires ───────── v1.3.0
Installed CodeTracking ───── v1.0.6
Installed LoweredCodeUtils ─ v2.2.0
Installed JuliaInterpreter ─ v0.9.2
Installed Revise ─────────── v3.3.1
ERROR: SystemError: opening file "/cvmfs/sft.cern.ch/lcg/releases/jl_ijulia/1.23.2-7e756/x86_64-centos7-gcc8-opt/share/julia/environments/v1.6/Project.toml": Read-only file system
the first path in the JULIA_DEPOT_PATH
exists and can be used if I spin up a local Julia for testing