# Multiple terminals open with Julia on macOS

**URL:** <https://discourse.julialang.org/t/multiple-terminals-open-with-julia-on-macos/50150>\
**Category:** New to Julia\
**Created:** [November 14, 2020, 3:51pm UTC](https://discourse.julialang.org/t/multiple-terminals-open-with-julia-on-macos/50150 "2020-11-14T15:51:37Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![bojohnson02](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/bojohnson02/32/9345_2.png) [@bojohnson02](https://discourse.julialang.org/u/bojohnson02)\
**Post date:** [November 14, 2020, 3:51pm UTC](https://discourse.julialang.org/t/multiple-terminals-open-with-julia-on-macos/50150/1 "2020-11-14T15:51:37Z")

</div>

I’ve installed the Julia `.dmg` file. Whenever I open the app, however, another normal terminal opens at the same time. Is this the expected behavior? If not, is there a way to tweak things so only the Julia terminal opens?

---

<div class="post-metadata">

**Author:** ![cormullion](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/cormullion/32/49131_2.png) [@cormullion](https://discourse.julialang.org/u/cormullion)\
**Post date:** [November 14, 2020, 4:46pm UTC](https://discourse.julialang.org/t/multiple-terminals-open-with-julia-on-macos/50150/2 "2020-11-14T16:46:57Z")

</div>

I suppose you’re double-clicking the app’s icon…? That launches a new terminal window, rather than re-use an existing one. It might be easier for you to launch Julia from an existing terminal window, using `julia`. You might need to set up the path correctly for it work. You can open as many as you want, of course, within reason.

---

<div class="post-metadata">

**Author:** ![bojohnson02](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/bojohnson02/32/9345_2.png) [@bojohnson02](https://discourse.julialang.org/u/bojohnson02)\
**Post date:** [November 14, 2020, 5:43pm UTC](https://discourse.julialang.org/t/multiple-terminals-open-with-julia-on-macos/50150/3 "2020-11-14T17:43:38Z")

</div>

No, no double clicking going on. Just a single click on the app icon and both the Julia terminal opens and another normal terminal at the same time. I can set up `julia` in my path, I just wasn’t sure if the double terminal thing was the expected behavior or not or if there was a quick fix.

---

<div class="post-metadata">

**Author:** ![cormullion](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/cormullion/32/49131_2.png) [@cormullion](https://discourse.julialang.org/u/cormullion)\
**Post date:** [November 14, 2020, 5:46pm UTC](https://discourse.julialang.org/t/multiple-terminals-open-with-julia-on-macos/50150/4 "2020-11-14T17:46:58Z")

</div>

I didn’t know you could single-click-launch things - unless you’re using LaunchPad?

---

<div class="post-metadata">

**Author:** ![bojohnson02](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/bojohnson02/32/9345_2.png) [@bojohnson02](https://discourse.julialang.org/u/bojohnson02)\
**Post date:** [November 14, 2020, 6:14pm UTC](https://discourse.julialang.org/t/multiple-terminals-open-with-julia-on-macos/50150/5 "2020-11-14T18:14:46Z")

</div>

Yeah, clicking on it through LaunchPad, or even launching it from Spotlight will bring up the 2 terminals.

---

<div class="post-metadata">

**Author:** ![cormullion](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/cormullion/32/49131_2.png) [@cormullion](https://discourse.julialang.org/u/cormullion)\
**Post date:** [November 14, 2020, 6:22pm UTC](https://discourse.julialang.org/t/multiple-terminals-open-with-julia-on-macos/50150/6 "2020-11-14T18:22:20Z")

</div>

Is the Terminal app already open just before you click on the icon? Perhaps launching Terminal creates a default window and also continues on to create the extra window? Otherwise I’m out of ideas…

---

<div class="post-metadata">

**Author:** ![ctkelley](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ctkelley/32/10684_2.png) [@ctkelley](https://discourse.julialang.org/u/ctkelley)\
**Post date:** [November 14, 2020, 6:25pm UTC](https://discourse.julialang.org/t/multiple-terminals-open-with-julia-on-macos/50150/7 "2020-11-14T18:25:27Z")

</div>

Put this

`alias julia '/Applications/Julia-1.5.app/Contents/Resources/julia/bin/julia'`

in your .chsrc file and then launch julia from as many terminal windows as you want by just typing `julia` at the prompt. Clinking on the icon is the problem. Firing Julia up directly from a terminal window is a solution.

---

<div class="post-metadata">

**Author:** ![bojohnson02](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/bojohnson02/32/9345_2.png) [@bojohnson02](https://discourse.julialang.org/u/bojohnson02)\
**Post date:** [November 14, 2020, 6:32pm UTC](https://discourse.julialang.org/t/multiple-terminals-open-with-julia-on-macos/50150/8 "2020-11-14T18:32:09Z")

</div>

Launching Julia from the terminal directly is no problem. I just found it weird it would launch 2 terminal windows when using the app.

---

<div class="post-metadata">

**Author:** ![ctkelley](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ctkelley/32/10684_2.png) [@ctkelley](https://discourse.julialang.org/u/ctkelley)\
**Post date:** [November 14, 2020, 6:33pm UTC](https://discourse.julialang.org/t/multiple-terminals-open-with-julia-on-macos/50150/9 "2020-11-14T18:33:06Z")

</div>

True. I gave up on clicking the icon the day I first started with Julia.

---

<div class="post-metadata">

**Author:** ![bojohnson02](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/bojohnson02/32/9345_2.png) [@bojohnson02](https://discourse.julialang.org/u/bojohnson02)\
**Post date:** [November 14, 2020, 6:37pm UTC](https://discourse.julialang.org/t/multiple-terminals-open-with-julia-on-macos/50150/10 "2020-11-14T18:37:03Z")

</div>

Good to know others were running into the same issue.

---

<div class="post-metadata">

**Author:** ![ptoche](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ptoche/32/23554_2.png) [@ptoche](https://discourse.julialang.org/u/ptoche)\
**Post date:** [April 29, 2021, 10:38am UTC](https://discourse.julialang.org/t/multiple-terminals-open-with-julia-on-macos/50150/11 "2021-04-29T10:38:21Z")

</div>

Yes I have the same issue, but because the terminal window that opens is exactly the same size as the Julia window and stays behind it, I’m only reminded of it once in a while.
