Pkg.jl and Julia Environments for Beginners

By: jkrumbiegel.com

Re-posted from: https://jkrumbiegel.com/pages/2022-08-26-pkg-introduction/index.html

When you start using Julia, you will quickly come in contact with Pkg.jl, its package manager. It’s reasonably easy to install a few packages and start using Julia. But from reading questions on Slack and Discourse, many users only start understanding relatively late what commands like instantiate are doing. This post should teach you how you can step beyond a messy global environment and towards neatly packaged local versions that allow you to collaborate more effectively and make your results reproducible.