when I update julia, I use the tar.gz file. after opening the archive, I get security warnings/errors from macos about running unrecognized software
I have to “allow anyway” in the security settings “julia”, and when updating the registry: “lld” and “dsymutil”
Is there an option to white-list julia without enabling all “unrecognized” software?
I think the easiest way is probably to install julia with juliaup which will give you a signed version.
Execute following in shell terminal of Mac to install Juliaup.
curl -fsSL https://install.julialang.org | sh
Once you have installed Juliaup, julia
is on the PATH
.
Why not just get the .dmg file from Julia Downloads?
On Mac, I move the old Julia version from “Applications” folder to trash, download the disk image with the new version, open it and follow the instruction. Then just start VSCode, start Julia and wait a while for the re-compile. That’s it.
juliaup
should be a viable alternative, but I personally prefer the “official” way: It is easy and I get all what I need (and not more).
Do the same, download disk image with new version. ‘juliaup’ does not work that well and VSCode does not update when I use juliaup. Had to go the “old fashion” way.
If juliaup is installed properly, it should control your PATH and point the julia
command to your default version in juliaup. So then you can make your executable in VSCode Julia settings just julia
, and it should always launch the version of Julia you have marked as default. Even better, you can do workplace level settings and set it to julia+1.10
or whatever channel you want to be the default for this project.
Is that not the behavior you saw?
In the meanwhile BTW I’ve long switched to juliaup on Mac (as well as on Windows and Ubuntu). See no problems with VSCode.