# Running multiple Julia sessions simultaneously

**URL:** <https://discourse.julialang.org/t/running-multiple-julia-sessions-simultaneously/88762>\
**Category:** New to Julia\
**Created:** [October 15, 2022, 2:10am UTC](https://discourse.julialang.org/t/running-multiple-julia-sessions-simultaneously/88762 "2022-10-15T02:10:32Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![mengxiaoliu](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mengxiaoliu/32/23601_2.png) [@mengxiaoliu](https://discourse.julialang.org/u/mengxiaoliu)\
**Post date:** [October 15, 2022, 2:10am UTC](https://discourse.julialang.org/t/running-multiple-julia-sessions-simultaneously/88762/1 "2022-10-15T02:10:32Z")

</div>

Hello,

I did a little research online and did not find the answer I was looking for.  
I would like to run two Julia sessions on my mac and am not sure if this is feasible.  
My friend suggested that I run one session on VSCode and the other on Terminal, which seems to do the trick. Still, I would like to receive confirmation that the two sessions would not interfere with each other.  
In addition, I wonder if there is an easier way to run two or more sessions simultaneously.

Thanks!

---

<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:** [October 15, 2022, 2:11am UTC](https://discourse.julialang.org/t/running-multiple-julia-sessions-simultaneously/88762/2 "2022-10-15T02:11:50Z")

</div>

You can run as many as you want. No issues except for RAM/CPU limits of your computer.

---

<div class="post-metadata">

**Author:** ![Oscar\_Smith](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/oscar_smith/32/25343_2.png) [@Oscar\_Smith](https://discourse.julialang.org/u/Oscar_Smith)\
**Post date:** [October 15, 2022, 2:39am UTC](https://discourse.julialang.org/t/running-multiple-julia-sessions-simultaneously/88762/3 "2022-10-15T02:39:05Z")

</div>

Yeah, you can run as many from as many terminal windows as you want. You also might want to look at Julia’s capabilities for distributed programming which essentially works by running a bunch of independent instances of Julia to efficiently use multiple CPUs or cores.

---

<div class="post-metadata">

**Author:** ![bjarthur](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/bjarthur/32/9638_2.png) [@bjarthur](https://discourse.julialang.org/u/bjarthur)\
**Post date:** [October 17, 2022, 2:47am UTC](https://discourse.julialang.org/t/running-multiple-julia-sessions-simultaneously/88762/4 "2022-10-17T02:47:48Z")

</div>

i run multiple julia sessions in different terminal windows all the time. the only problem i occasionally have is that sometimes the history file is corrupted. but that is easy to fix either by deleting it entirely, or deleting just the portion that is bad.

---

<div class="post-metadata">

**Author:** ![Ralph\_Smith](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ralph_smith/32/10344_2.png) [@Ralph\_Smith](https://discourse.julialang.org/u/Ralph_Smith)\
**Post date:** [October 17, 2022, 3:06am UTC](https://discourse.julialang.org/t/running-multiple-julia-sessions-simultaneously/88762/5 "2022-10-17T03:06:21Z")

</div>

One thing to be aware of is the need to do package-manager operations sequentially:  
see discussion in [this issue](https://github.com/JuliaLang/Pkg.jl/issues/2219) for details.
