How to install Julia 1.11 on Mac?

For a course, I want my students to use Julia 1.11. For installation, the suggested way is

curl -fsSL https://install.julialang.org | sh

But this installs Julia 1.12.

Is there a way to download and install either no Julia (only juliaup) and do that in a second step, or to download and install Julia 1.11 directly?

According to juliaup’s README (GitHub - JuliaLang/juliaup: Julia installer and version multiplexer), the installation script supports extra arguments:

curl -fsSL https://install.julialang.org | sh -s -- <ARGS>

One of them is:

  • --default-channel <NAME>: Configure the default channel. For example --default-channel lts would install the lts channel and configure it as the default.

I think you should be able to run:

curl -fsSL https://install.julialang.org | sh -s -- --default-channel 1.11

to install the latest version of Julia 1.11.

1 Like