Under macOS I had previously installed julia 1.6* directly from Download Julia. This created ~/.julia/, which includes subdirectories config, environments, packages, and others. In particular, packages that I install go into and then used the package manager to install many packages – which go into ~/.julia/packages.
Now I’ve used jill to install julia 1.7. How do I access those previously installed packages or move them to where the new version of julia expects to find them?
If your packages are in the default environment, you should copy ~/.julia/environments/v1.6 to v1.7:
E.g. cp -r ~/.julia/environments/v1.6 ~/.julia/environments/v1.7
Don’t you need a final slash in the copy? To copy the contents of v1.6 as opposed to the folder itself into v1.7, I’d expect to need an extra slash: cp -r ~/.julia/environments/v1.6/ ~/.julia/environments/v1.7