# Using Julia on Git bash

**URL:** https://discourse.julialang.org/t/using-julia-on-git-bash/24413
**Category:** New to Julia
**Tags:** repl
**Created:** [May 20, 2019, 8:42pm UTC](https://discourse.julialang.org/t/using-julia-on-git-bash/24413 "2019-05-20T20:42:30Z")
**Posts on this page:** 1
**Showing post:** 7

<div class="post-metadata">

### Author: ![PetrKryslUCSD](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/petrkryslucsd/32/215825_2.png) [@PetrKryslUCSD](https://discourse.julialang.org/u/PetrKryslUCSD)
#### Post date: [June 25, 2020, 2:16pm UTC](https://discourse.julialang.org/t/using-julia-on-git-bash/24413/7 "2020-06-25T14:16:28Z")

</div>

Sorry to hear that. This definitely works for me: I put the following into start.bat

```julia
start "" "%PROGRAMFILES%\Git\bin\sh.exe" --login -i -c "exec julia"

```

I make sure that when I open cmd and type `"%PROGRAMFILES%\Git\bin\sh.exe"` I get the bash. Then, in bash I must be able to type `julia` and get the Julia prompt. Under these conditions things work. What happens on your system?

Edit: The paths need to be set for the above to work. On my system:

 ![image](https://global.discourse-cdn.com/julialang/original/3X/7/4/74b77abf2319961c9e6b6346f1a2eef0a9a0d340.png)

---

_[View the full topic](https://discourse.julialang.org/t/using-julia-on-git-bash/24413)._
