LazyArtifacts and offline environments

I’m running Julia on my uni’s cluster, where – except for the login node – there is no internet access. I have a script that sets up a Julia environment with all the necessary deps, and calls Pkg.instantiate() and Pkg.precompile() to get everything ready for the worker nodes. However, there is a particular package that uses a lazy artifact (specifically, BridgeStan.jl), and it seems that the only way to get it to download is to actually call a function from this package during the setup script.

My question then is: is there a Pkg function to force download all LazyArtifacts required by a Julia environment?

1 Like