# How can I be able to use binary command "julia" in Mac OSX terminal?

**URL:** <https://discourse.julialang.org/t/how-can-i-be-able-to-use-binary-command-julia-in-mac-osx-terminal/22270>\
**Category:** General Usage\
**Created:** [March 24, 2019, 7:02am UTC](https://discourse.julialang.org/t/how-can-i-be-able-to-use-binary-command-julia-in-mac-osx-terminal/22270 "2019-03-24T07:02:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ssghost](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ssghost/32/7564_2.png) [@ssghost](https://discourse.julialang.org/u/ssghost)\
**Post date:** [March 24, 2019, 7:02am UTC](https://discourse.julialang.org/t/how-can-i-be-able-to-use-binary-command-julia-in-mac-osx-terminal/22270/1 "2019-03-24T07:02:16Z")

</div>

I have installed Julia-v1.1 and the default IDE works pretty well. But I can’t directly use some command line instructions such as "$ julia script.jl arg1 arg2… " in Mac Terminal. It returns “command not found”. How can I install the binary command for Julia?

---

<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:** [March 24, 2019, 8:09am UTC](https://discourse.julialang.org/t/how-can-i-be-able-to-use-binary-command-julia-in-mac-osx-terminal/22270/2 "2019-03-24T08:09:31Z")

</div>

There are some suggestions [here](https://en.wikibooks.org/wiki/Introducing_Julia/Getting_started). If you find anything that needs improving there, let us know…

---

<div class="post-metadata">

**Author:** ![StevenSiew](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/stevensiew/32/218393_2.png) [@StevenSiew](https://discourse.julialang.org/u/StevenSiew)\
**Post date:** [March 24, 2019, 10:14am UTC](https://discourse.julialang.org/t/how-can-i-be-able-to-use-binary-command-julia-in-mac-osx-terminal/22270/3 "2019-03-24T10:14:24Z")

</div>

Probably the easiest way is to issue a similar command like the one below in the MacOS terminal

```julia
ln -fs "/Applications/Julia-1.0.app/Contents/Resources/julia/bin/julia" /usr/local/bin/julia

```

Remember I said SIMILAR, you need to double check the location of julia first in the /Application folder

This is what I have on my Mac

```julia
$ which julia
/usr/local/bin/julia
$ ls -l /usr/local/bin/julia*
lrwxr-xr-x 1 ssiew admin 62 22 Sep 2018 /usr/local/bin/julia -> /Applications/Julia-1.0.app/Contents/Resources/julia/bin/julia
lrwxr-xr-x 1 ssiew admin 62 22 Sep 2018 /usr/local/bin/julia06 -> /Applications/Julia-0.6.app/Contents/Resources/julia/bin/julia
lrwxr-xr-x 1 ssiew admin 62 22 Sep 2018 /usr/local/bin/julia07 -> /Applications/Julia-0.7.app/Contents/Resources/julia/bin/julia
$ 

```

postscript: I have not installed Julia 1.1 on my system so I have no clue where the binary for julia is located on the /Application folder for version 1.1 perhaps someone who has installed it can let you know the exact location.
