How can I easily upgrade to the latest version of Julia?

For example, if I am currently using Julia v1.8, and I want to upgrade to Julia v1.9 while keeping all previously installed packages, how can I do that?

I am using the VS Code development environment on win10.