juliaup icon indicating copy to clipboard operation
juliaup copied to clipboard

Idea: show that user can run `juliaup` from within Julia

Open BioTurboNick opened this issue 4 years ago • 4 comments

One thing that a user might stumble on is how to run juliaup commands without having to launch a new command window. They may not realize shell commands can by run from within Julia.

So something like (paraphrased message):

Julia version 1.6.1 is available. Run:

  juliaup update

to install Julia 1, the latest Julia version for the current channel.

This command may be run within Julia by typing a semicolon (;) to access the shell prompt.

BioTurboNick avatar May 26 '21 15:05 BioTurboNick

Oh wow, I didn't even consider that one can run juliaup from within julia! But actually, that does of course work, at least I think everything except deleting the currently running Julia version should work.

I guess one could even think about a juliaup repl mode down the road...

davidanthoff avatar May 26 '21 15:05 davidanthoff

Changing the message should be quick easy enough. Why is this still an issue, almost 8 months later?

KronosTheLate avatar Jan 18 '22 07:01 KronosTheLate

@KronosTheLate - Presumably it wasn't a priority. And it's a nice-to-have thing, not a necessity. I'm sure a PR would be welcome if you feel strongly enough about it :-)

BioTurboNick avatar Jan 18 '22 15:01 BioTurboNick

Wouldn't julia need to be re-run after updating?

MatthijsBlom avatar Jan 18 '22 16:01 MatthijsBlom

Having done this, I wouldn't recommend it to users. I wouldn't discourage anyone from doing it, but I wouldn't advertise it either. After doing this, the user has to restart Julia, and after doing that, the first time Pkg.update() runs, the session crashes. Edges are just too rough, IMO--better to have people do juliaup from the OS.

eahenle avatar Oct 19 '22 19:10 eahenle

Fair enough! Willing to close this if David concurs.

BioTurboNick avatar Oct 19 '22 19:10 BioTurboNick