# Problem installing Julia on Mac

**URL:** <https://discourse.julialang.org/t/problem-installing-julia-on-mac/108948>\
**Category:** New to Julia\
**Tags:** question\
**Created:** [January 18, 2024, 10:07am UTC](https://discourse.julialang.org/t/problem-installing-julia-on-mac/108948 "2024-01-18T10:07:51Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![gryumova](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/gryumova/32/206294_2.png) [@gryumova](https://discourse.julialang.org/u/gryumova)\
**Post date:** [January 18, 2024, 10:07am UTC](https://discourse.julialang.org/t/problem-installing-julia-on-mac/108948/1 "2024-01-18T10:07:51Z")

</div>

Hi all. I was unable to install julia by running the following command  
curl -fsSL [https://install.julialang.org](https://install.julialang.org) | sh  
I tried it through JuliaUp, it didn’t help. I was advised to build the image myself using the following commands  
`git clone https://github.com/JuliaLang/julia.git `  
`cd Julia`  
`git checkout v1.9.4`  
`make`  
But I received the following error  
curl: (28) Connection timeout after 15004 ms

make[1]: \*\*\* [/Users/egryumova/julia/stdlib/srccache/NetworkOptions-791fa05928f03b7f18ff5ba0d6c7fbf6c6c25e78.tar.gz] Error 28

make: \*\*\* [julia-stdlib] Error 2

Please help me figure out what to do about this

---

<div class="post-metadata">

**Author:** ![ufechner7](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ufechner7/32/51363_2.png) [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Post date:** [January 18, 2024, 10:10am UTC](https://discourse.julialang.org/t/problem-installing-julia-on-mac/108948/2 "2024-01-18T10:10:56Z")

</div>

> [@gryumova](#):
>
> I tried it through JuliaUp, it didn’t help.

What was the error message?

---

<div class="post-metadata">

**Author:** ![gryumova](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/gryumova/32/206294_2.png) [@gryumova](https://discourse.julialang.org/u/gryumova)\
**Post date:** [January 18, 2024, 10:14am UTC](https://discourse.julialang.org/t/problem-installing-julia-on-mac/108948/3 "2024-01-18T10:14:10Z")

</div>

after installing Julia via juliaup, I opened it and a message appeared saying that It couldn’t open the terminal

---

<div class="post-metadata">

**Author:** ![ufechner7](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ufechner7/32/51363_2.png) [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Post date:** [January 18, 2024, 10:15am UTC](https://discourse.julialang.org/t/problem-installing-julia-on-mac/108948/4 "2024-01-18T10:15:42Z")

</div>

Which terminal are you using? Do you have bash installed? How did you install or launch juliaup?

See also:

> **[How to Change the Default Shell to Bash on macOS](https://www.howtogeek.com/444596/how-to-change-the-default-shell-to-bash-in-macos-catalina/)**
>
> macOS now uses Zsh instead of Bash as its default shell. Prefer Bash? Here's how to change it back.

What is the output of:

```julia
echo $SHELL

```

in the terminal?

---

<div class="post-metadata">

**Author:** ![gryumova](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/gryumova/32/206294_2.png) [@gryumova](https://discourse.julialang.org/u/gryumova)\
**Post date:** [January 18, 2024, 10:21am UTC](https://discourse.julialang.org/t/problem-installing-julia-on-mac/108948/5 "2024-01-18T10:21:14Z")

</div>

I’m using a terminal application on a Mac. I installed the dmg file from the official website and performed the standard installation by dragging and dropping into applications.

---

<div class="post-metadata">

**Author:** ![gryumova](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/gryumova/32/206294_2.png) [@gryumova](https://discourse.julialang.org/u/gryumova)\
**Post date:** [January 18, 2024, 10:22am UTC](https://discourse.julialang.org/t/problem-installing-julia-on-mac/108948/6 "2024-01-18T10:22:03Z")

</div>

I received the following output  
/bin/zsh

---

<div class="post-metadata">

**Author:** ![ufechner7](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ufechner7/32/51363_2.png) [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Post date:** [January 18, 2024, 10:22am UTC](https://discourse.julialang.org/t/problem-installing-julia-on-mac/108948/7 "2024-01-18T10:22:50Z")

</div>

Well, I cannot help with this type of installation. I find it easier to help people remotely if they just use a terminal, because than you can copy and past commands and share the output without having to make screenshots…

---

<div class="post-metadata">

**Author:** ![ufechner7](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ufechner7/32/51363_2.png) [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Post date:** [January 18, 2024, 10:23am UTC](https://discourse.julialang.org/t/problem-installing-julia-on-mac/108948/8 "2024-01-18T10:23:25Z")

</div>

Can you try to switch to bash as explained in the link above?

---

<div class="post-metadata">

**Author:** ![gryumova](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/gryumova/32/206294_2.png) [@gryumova](https://discourse.julialang.org/u/gryumova)\
**Post date:** [January 18, 2024, 10:25am UTC](https://discourse.julialang.org/t/problem-installing-julia-on-mac/108948/9 "2024-01-18T10:25:15Z")

</div>

yes, I’m trying to do that

---

<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:** [January 18, 2024, 10:33am UTC](https://discourse.julialang.org/t/problem-installing-julia-on-mac/108948/10 "2024-01-18T10:33:06Z")

</div>

Note that `bash` isn’t the default shell on MacOS:

```plaintext
❯ bash

The default interactive shell is now zsh.
To update your account to use zsh, please run `chsh -s /bin/zsh`.
For more details, please visit https://support.apple.com/kb/HT208050.

```

although it still works.

A ‘traditional’ (pre-Juliaup) install on MacOS (unpacking the DMG and dragging into ‘/Applications’) should work OK, and you can then run Julia (1.10 version) by typing:

```plaintext
/Applications/Julia-1.10.app/Contents/Resources/julia/bin/julia

```

in a Terminal window.

Double-clicking the icon should launch an AppleScript that opens a new Terminal window.

---

<div class="post-metadata">

**Author:** ![gryumova](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/gryumova/32/206294_2.png) [@gryumova](https://discourse.julialang.org/u/gryumova)\
**Post date:** [January 18, 2024, 10:41am UTC](https://discourse.julialang.org/t/problem-installing-julia-on-mac/108948/12 "2024-01-18T10:41:04Z")

</div>

This solution helped install it.  
Thanks a lot!
