# launch REPL from cmd vs JuliaPro

**URL:** <https://discourse.julialang.org/t/launch-repl-from-cmd-vs-juliapro/22414>\
**Category:** New to Julia\
**Tags:** repl\
**Created:** [March 27, 2019, 3:19pm UTC](https://discourse.julialang.org/t/launch-repl-from-cmd-vs-juliapro/22414 "2019-03-27T15:19:16Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Qi\_Dai](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/qi_dai/32/7651_2.png) [@Qi\_Dai](https://discourse.julialang.org/u/Qi_Dai)\
**Post date:** [March 27, 2019, 3:19pm UTC](https://discourse.julialang.org/t/launch-repl-from-cmd-vs-juliapro/22414/1 "2019-03-27T15:19:17Z")

</div>

Please bear with me if my question is silly. Basically, I’m wondering what’s the difference with launching REPL from cmd windows through C:/path/to/julia/bin/julia.exe vs the build in REPL in JuliaPro.

The reason I’m asking this is that I can use range(1,20) in the REPL in JuliaPro but it raised an error of _**no method matching range(::Int64, ::Int64)**_ when I was trying to run it from the REPL launched in cmd. Then, I found that the range method in JuliaPro has two methods and one of them comes from Compat. What’s even more strange is that I can import/using Compat through both ways.

So, can someone explain why is this and what’s the other differences between the ways of launching REPL?

Any help would be appreciated and again please bear with my totally newbie question!

---

<div class="post-metadata">

**Author:** ![Tamas\_Papp](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tamas_papp/32/25949_2.png) [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Post date:** [March 27, 2019, 3:39pm UTC](https://discourse.julialang.org/t/launch-repl-from-cmd-vs-juliapro/22414/2 "2019-03-27T15:39:33Z")

</div>

It is very likely that one of those is an earlier version. Try evaluating `VERSION` in both.

---

<div class="post-metadata">

**Author:** ![Qi\_Dai](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/qi_dai/32/7651_2.png) [@Qi\_Dai](https://discourse.julialang.org/u/Qi_Dai)\
**Post date:** [March 27, 2019, 9:11pm UTC](https://discourse.julialang.org/t/launch-repl-from-cmd-vs-juliapro/22414/3 "2019-03-27T21:11:42Z")

</div>

Thanks a lot for your reply! They are both v’1.0.3’ Actually the REPL launched from cmd is from JuliaPro’s installation folder. I don’t have a separate Julia installed. Do you have other suggestions that I can try?

---

<div class="post-metadata">

**Author:** ![Tamas\_Papp](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tamas_papp/32/25949_2.png) [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Post date:** [March 28, 2019, 5:09am UTC](https://discourse.julialang.org/t/launch-repl-from-cmd-vs-juliapro/22414/4 "2019-03-28T05:09:41Z")

</div>

If I remember correctly, `range(::Int, ::Int)` is not supported in Julia 1.0.3. JuliaPro must be loading some package that makes it available, probably

> **[GitHub - JuliaLang/Compat.jl: Compatibility across Julia versions](https://github.com/JuliaLang/Compat.jl)**
>
> Compatibility across Julia versions. Contribute to JuliaLang/Compat.jl development by creating an account on GitHub.

For the history of `range`, see

> <https://github.com/JuliaLang/julia/pull/28708>
>
> This was discussed in #25896, and can be added now that deprecations are removed…. This probably could have been in 1.0, and so might be ok to put in a point release. Thoughts? Otherwise it can go in 1.1.

---

<div class="post-metadata">

**Author:** ![Qi\_Dai](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/qi_dai/32/7651_2.png) [@Qi\_Dai](https://discourse.julialang.org/u/Qi_Dai)\
**Post date:** [March 28, 2019, 9:34pm UTC](https://discourse.julialang.org/t/launch-repl-from-cmd-vs-juliapro/22414/5 "2019-03-28T21:34:28Z")

</div>

Thanks a lot for the pointer to Compat.jl and history of range. Other than this specific difference, do you know what caused the difference in general? Does the REPL launched in JuliaPro started with some predefined macro or script so that the Compat module was loaded by default?

The reason I’m curious about this is that I want to run my program outside JuliaPro so that I can automate my processes. Otherwise, the program I write in JuliaPro won’t be useful in outside environment.

---

<div class="post-metadata">

**Author:** ![Tamas\_Papp](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tamas_papp/32/25949_2.png) [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Post date:** [March 29, 2019, 6:42am UTC](https://discourse.julialang.org/t/launch-repl-from-cmd-vs-juliapro/22414/6 "2019-03-29T06:42:37Z")

</div>

> [@Qi\_Dai](#):
>
> Does the REPL launched in JuliaPro started with some predefined macro or script so that the Compat module was loaded by default?

JuliaPro is a product by Julia Computing, so you would have to turn to them with support questions.

Personally, I would just stay away from JuliaPro unless you have some very specific requirement that makes it absolutely necessary.

---

<div class="post-metadata">

**Author:** ![Qi\_Dai](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/qi_dai/32/7651_2.png) [@Qi\_Dai](https://discourse.julialang.org/u/Qi_Dai)\
**Post date:** [March 29, 2019, 1:06pm UTC](https://discourse.julialang.org/t/launch-repl-from-cmd-vs-juliapro/22414/7 "2019-03-29T13:06:54Z")

</div>

I see. Thanks a lot for the suggestion!
