Stop juliaup to notify new version of julia?

I got this notification when I run julia today

The latest version of Julia in the `release` channel is 1.11.0+0.x64.linux.gnu. You currently have `1.10.5+0.x64.linux.gnu` installed. Run:

  juliaup update

in your terminal shell to install Julia 1.11.0+0.x64.linux.gnu and update the `release` channel to that version.

I don’t want to see it every time I run julia. Is there any way to turn it off? Thanks!

set your default julia to julia +1.10 rather than julia +release

10 Likes

Is there any other solution? For instance, CLI option? I don’t want to change my default julia setting.

it’s somewhat unclear what behavior you want. If you want to be able to run 1.10, but keep release as the default, you should add 1.10 as a channel which you can then launch as julia +1.10

3 Likes

The message arrives for minor releases as well. So I have for instance default channel 1.10 set:

juliaup status
 Default  Channel  Version                          Update
--------------------------------------------------------------------------------------------------------
          1.9      1.9.4+0.aarch64.apple.darwin14
       *  1.10     1.10.5+0.aarch64.apple.darwin14  Update to 1.10.7+0.aarch64.apple.darwin14 available
          release  1.10.5+0.aarch64.apple.darwin14  Update to 1.11.2+0.aarch64.apple.darwin14 available

however I still get this message when I invoke julia:

The latest version of Julia in the `1.10` channel is 1.10.7+0.aarch64.apple.darwin14. You currently have `1.10.5+0.aarch64.apple.darwin14` installed. Run:

  juliaup update

in your terminal shell to install Julia 1.10.7+0.aarch64.apple.darwin14 and update the `1.10` channel to that version

Update: its becase at project level I’m using a prior version:

# Project.toml
...
[compat]
julia = "1.9"

If you really want Julia 1.10.5 then add the 1.10.5 channel instead of 1.10.