Upgrading to Julia 1.10.2

At command prompt:

Microsoft Windows [Version 10.0.22631.3155]
(c) Microsoft Corporation. All rights reserved.

C:\Users\TGebbels>winget install julia -s msstore
Found an existing package already installed. Trying to upgrade the installed package...
No available upgrade found.
No newer package versions are available from the configured sources.

C:\Users\TGebbels>julia
The latest version of Julia in the `release` channel is 1.10.2+0.x64.w64.mingw32. You currently have `1.10.1+0.x64.w64.mingw32` installed. Run:

  juliaup update

to install Julia 1.10.2+0.x64.w64.mingw32 and update the `release` channel to that version.
               _
   _       _ _(_)_     |  Documentation: https://docs.julialang.org
  (_)     | (_) (_)    |
   _ _   _| |_  __ _   |  Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 1.10.1 (2024-02-13)
 _/ |\__'_|_|_|\__'_|  |  Official https://julialang.org/ release
|__/                   |

julia> juliaup update
ERROR: ParseError:
# Error @ REPL[1]:1:8
juliaup update
#      └─────┘ ── extra tokens after end of expression
Stacktrace:
 [1] top-level scope
   @ none:1

julia>

In the REPL in VScode:

julia> juliaup --help
ERROR: ParseError:
# Error @ REPL[1]:1:9
juliaup --help
#       └┘ ── invalid operator
Stacktrace:
 [1] top-level scope
   @ none:1

julia> juliaup
ERROR: UndefVarError: `juliaup` not defined

julia> 

I used the command prompt to upgrade to 1.10.1 and it seemed to go without issue and did certainly upgrade me.

There is presumably something simple I’m overlooking…

Hi,

You get the error because you run juliaup inside julia.
You should run juliaup outsite your julia session.

If you are on Linux, just open a terminal and type juliaup update.

Hope this helps,

2 Likes

That’s it! Thanks.

C:\Users\TGebbels>juliaup update
Installing Julia 1.10.2+0.x64.w64.mingw32
WARNING: Failed to delete C:\Users\TGebbels\.julia\juliaup\.\julia-1.10.1+0.x64.w64.mingw32. You can try to delete at a later point by running `juliaup gc`.

Close VScode:

C:\Users\TGebbels>juliaup gc

C:\Users\TGebbels>
1 Like