# Switch Julia version

**URL:** <https://discourse.julialang.org/t/switch-julia-version/67100>\
**Category:** General Usage\
**Tags:** question\
**Created:** [August 27, 2021, 1:47pm UTC](https://discourse.julialang.org/t/switch-julia-version/67100 "2021-08-27T13:47:54Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hannah\_Rocio\_Santa\_C](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/hannah_rocio_santa_c/32/21913_2.png) [@Hannah\_Rocio\_Santa\_C](https://discourse.julialang.org/u/Hannah_Rocio_Santa_C)\
**Post date:** [August 27, 2021, 1:47pm UTC](https://discourse.julialang.org/t/switch-julia-version/67100/1 "2021-08-27T13:47:54Z")

</div>

Hello,

I’ve been using Julia 1.0, but have now run into a package that requires 1.1 (Cxx.jl), so I downloaded it, but don’t know how to set up Julia Pro to use it. I would like to still be able to use version 1.0, so I don’t want to delete it.

I tried pkg\> build IJulia, but that didn’t work, maybe because I haven’t deleted the old version.

---

<div class="post-metadata">

**Author:** ![DNF](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/dnf/32/10191_2.png) [@DNF](https://discourse.julialang.org/u/DNF)\
**Post date:** [August 27, 2021, 4:19pm UTC](https://discourse.julialang.org/t/switch-julia-version/67100/2 "2021-08-27T16:19:58Z")

</div>

Why not update to the latest version (1.6)? 1.0 and 1.1 are _old_.

---

<div class="post-metadata">

**Author:** ![gbaraldi](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/gbaraldi/32/22101_2.png) [@gbaraldi](https://discourse.julialang.org/u/gbaraldi)\
**Post date:** [August 27, 2021, 5:33pm UTC](https://discourse.julialang.org/t/switch-julia-version/67100/3 "2021-08-27T17:33:36Z")

</div>

If he wants Cxx.jl he will probably be stuck in at the most 1.3 unfortunately

---

<div class="post-metadata">

**Author:** ![ParadaCarleton](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/paradacarleton/32/20005_2.png) [@ParadaCarleton](https://discourse.julialang.org/u/ParadaCarleton)\
**Post date:** [August 27, 2021, 6:18pm UTC](https://discourse.julialang.org/t/switch-julia-version/67100/4 "2021-08-27T18:18:19Z")

</div>

Why do you want to use 1.0?

---

<div class="post-metadata">

**Author:** ![vavrines](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/vavrines/32/8024_2.png) [@vavrines](https://discourse.julialang.org/u/vavrines)\
**Post date:** [August 27, 2021, 8:28pm UTC](https://discourse.julialang.org/t/switch-julia-version/67100/5 "2021-08-27T20:28:50Z")

</div>

You’ll need to include the latest julia into system path, i.e., letting the system know you’ve installed it.  
For `pkg> build IJulia` stuff, first you need to make sure the REPL you open is v1.1 (instead of your old v1.0).  
You can check this by

```julia
julia> VERSION

```

---

<div class="post-metadata">

**Author:** ![Hannah\_Rocio\_Santa\_C](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/hannah_rocio_santa_c/32/21913_2.png) [@Hannah\_Rocio\_Santa\_C](https://discourse.julialang.org/u/Hannah_Rocio_Santa_C)\
**Post date:** [August 28, 2021, 3:05pm UTC](https://discourse.julialang.org/t/switch-julia-version/67100/7 "2021-08-28T15:05:03Z")

</div>

Because it’s the stable version, right? I had problems with some other packages with newer versions before (so I deleted and installed 1.0)

---

<div class="post-metadata">

**Author:** ![Hannah\_Rocio\_Santa\_C](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/hannah_rocio_santa_c/32/21913_2.png) [@Hannah\_Rocio\_Santa\_C](https://discourse.julialang.org/u/Hannah_Rocio_Santa_C)\
**Post date:** [August 28, 2021, 3:06pm UTC](https://discourse.julialang.org/t/switch-julia-version/67100/8 "2021-08-28T15:06:07Z")

</div>

Thanks! that makes sense 🙂 How do I include the Julia version into the system path?

---

<div class="post-metadata">

**Author:** ![ParadaCarleton](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/paradacarleton/32/20005_2.png) [@ParadaCarleton](https://discourse.julialang.org/u/ParadaCarleton)\
**Post date:** [August 28, 2021, 4:10pm UTC](https://discourse.julialang.org/t/switch-julia-version/67100/9 "2021-08-28T16:10:24Z")

</div>

1.0 is currently marked as the long-term support version, but it’s about to be deprecated in favor of 1.6, the current version. (And probably already should have been; 1.0 is _slow_ and more than 3 years old at this point.)

I assume that you had problems with getting Cxx.jl working in 1.6; unfortunately, that’s to do with Cxx.jl, which is no longer being updated/supported. I’d suggest trying 1.3, if you need Cxx.jl, but that will probably break down soon, completely. However, CxxWrap.jl provides similar functionality and is still being actively maintained. You can also call C (not C++) directly from Julia without having to use any packages, if that would work instead.

If there’s any other packages relying on pre-1.6 versions, we can probably help you find replacements. However, almost all packages will work just fine with 1.6, which (theoretically) shouldn’t have been a breaking update; I assume Cxx.jl was relying on some kind of unexported functionality that they shouldn’t have been using. Very few packages will maintain 1.0 support after the next few months.

---

<div class="post-metadata">

**Author:** ![DNF](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/dnf/32/10191_2.png) [@DNF](https://discourse.julialang.org/u/DNF)\
**Post date:** [August 28, 2021, 6:22pm UTC](https://discourse.julialang.org/t/switch-julia-version/67100/10 "2021-08-28T18:22:18Z")

</div>

> [@Hannah\_Rocio\_Santa\_C](#):
>
> Because it’s the stable version, right?

1.6 is the latest stable version, and is better than 1.0 in pretty much every way. Unless you have very specific reasons, you should use the latest version.

Do you have any other reasons than Cxx.jl support?

---

<div class="post-metadata">

**Author:** ![Hannah\_Rocio\_Santa\_C](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/hannah_rocio_santa_c/32/21913_2.png) [@Hannah\_Rocio\_Santa\_C](https://discourse.julialang.org/u/Hannah_Rocio_Santa_C)\
**Post date:** [August 29, 2021, 3:38am UTC](https://discourse.julialang.org/t/switch-julia-version/67100/11 "2021-08-29T03:38:20Z")

</div>

I see, thank you all for the update on 1.0 being deprecated! I guess I will switch to 1.6 for common usage. I do still want 1.1 or 1.3 so that I can use Cxx though, because I don’t really want to go through shared libraries, and am interested in c++ code, not only c. Could anyone explain how I specify the Julia version in the system path? Thanks!
