PackageCompiler.jl’s create_sysimage()
is great for this! You can just swap out Julia’s default sysimage and have a fully-featured Julia session with whatever packages you need. Most packages nowadays are fully relocatable, and this should only require a single compilation, though packages with lazy-loading need to be specified manually. I’ve written a tutorial on this, and while I’ve never tried setting up a Windows environment this way, it seems possible, and this could be useful to others.
1 Like