# Can't run julia from windows terminal (Julia 1.8.2 / Windows 10)

**URL:** <https://discourse.julialang.org/t/cant-run-julia-from-windows-terminal-julia-1-8-2-windows-10/88847>\
**Category:** General Usage\
**Created:** [October 17, 2022, 11:42am UTC](https://discourse.julialang.org/t/cant-run-julia-from-windows-terminal-julia-1-8-2-windows-10/88847 "2022-10-17T11:42:18Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![scelles](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/scelles/32/220408_2.png) [@scelles](https://discourse.julialang.org/u/scelles)\
**Post date:** [October 17, 2022, 11:42am UTC](https://discourse.julialang.org/t/cant-run-julia-from-windows-terminal-julia-1-8-2-windows-10/88847/1 "2022-10-17T11:42:18Z")

</div>

Hello,

Under Windows 10 trying to run julia from terminal (added to PATH), I’m stuck with the following message :

`Cannot find file at 'c:\windows\system32\config\systemprofile\appdata\local\programs\julia-1.8.2\bin\julia.exe' (c:\windows\system32\config\systemprofile\appdata\local\programs\julia-1.8.2\bin\julia.exe). This usually indicates a missing or moved file.`

I’m getting the same error message after uninstalling julia 1.8.2 and typing julia in terminal.

Any idea what is wrong with my install.

Kind regards

---

<div class="post-metadata">

**Author:** ![oheil](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/oheil/32/220745_2.png) [@oheil](https://discourse.julialang.org/u/oheil)\
**Post date:** [October 17, 2022, 11:50am UTC](https://discourse.julialang.org/t/cant-run-julia-from-windows-terminal-julia-1-8-2-windows-10/88847/2 "2022-10-17T11:50:19Z")

</div>

Are you sure the path is right? (Seems to be non standard.)

What have you added to PATH?

> [@scelles](#):
>
> error message after uninstalling julia 1.8.2 and typing julia in terminal

is surely expected. Do you mean “installing julia 1.8.2” ?

---

<div class="post-metadata">

**Author:** ![scelles](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/scelles/32/220408_2.png) [@scelles](https://discourse.julialang.org/u/scelles)\
**Post date:** [October 17, 2022, 12:58pm UTC](https://discourse.julialang.org/t/cant-run-julia-from-windows-terminal-julia-1-8-2-windows-10/88847/3 "2022-10-17T12:58:02Z")

</div>

`C:\Users\scell\AppData\Local\Programs\Julia-1.8.2\bin` have been added by installer

```julia

Microsoft Windows [version 10.0.19044.2130]
(c) Microsoft Corporation. Tous droits réservés.

C:\Users\scell>C:\Users\scell\AppData\Local\Programs\Julia-1.8.2\bin\julia
               _
   _ _ _(_)_ | Documentation: https://docs.julialang.org
  (_) | (_) (_) |
   _ _ _| |_ __ _ | Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` | |
  | | |_| | | | (_| | | Version 1.8.2 (2022-09-29)
 _/ |\ __'_|_|_|\__'_| | Official https://julialang.org/ release
|__/ |

julia> ^C

julia>

C:\Users\scell>julia
Cannot find file at 'c:\windows\system32\config\systemprofile\appdata\local\programs\julia-1.8.2\bin\julia.exe' (c:\windows\system32\config\systemprofile\appdata\local\programs\julia-1.8.2\bin\julia.exe). This usually indicates a missing or moved file.

```

I can confirm that this Cannot find file at also occurs after uninstalling Julia (as if there was an other julia command)

---

<div class="post-metadata">

**Author:** ![scelles](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/scelles/32/220408_2.png) [@scelles](https://discourse.julialang.org/u/scelles)\
**Post date:** [October 17, 2022, 1:02pm UTC](https://discourse.julialang.org/t/cant-run-julia-from-windows-terminal-julia-1-8-2-windows-10/88847/4 "2022-10-17T13:02:06Z")

</div>

`where julia` helped me to find that I had an other julia install with Chocolatey

```julia
where julia
C:\Users\scell\julia
C:\ProgramData\chocolatey\bin\julia.exe
C:\Users\scell\AppData\Local\Programs\Julia-1.8.2\bin\julia
C:\Users\scell\AppData\Local\Programs\Julia-1.8.2\bin\julia.exe

```

---

<div class="post-metadata">

**Author:** ![oheil](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/oheil/32/220745_2.png) [@oheil](https://discourse.julialang.org/u/oheil)\
**Post date:** [October 17, 2022, 1:08pm UTC](https://discourse.julialang.org/t/cant-run-julia-from-windows-terminal-julia-1-8-2-windows-10/88847/5 "2022-10-17T13:08:03Z")

</div>

Cleaning up by removing those unused julia’s should be fine to solve your issue.  
The julia.exe, which produces your error messages seems to be corrupt anyways.

---

<div class="post-metadata">

**Author:** ![scelles](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/scelles/32/220408_2.png) [@scelles](https://discourse.julialang.org/u/scelles)\
**Post date:** [October 17, 2022, 1:16pm UTC](https://discourse.julialang.org/t/cant-run-julia-from-windows-terminal-julia-1-8-2-windows-10/88847/6 "2022-10-17T13:16:41Z")

</div>

Thanks @oheil

---

<div class="post-metadata">

**Author:** ![Vineyo](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/vineyo/32/218508_2.png) [@Vineyo](https://discourse.julialang.org/u/Vineyo)\
**Post date:** [September 2, 2025, 8:05am UTC](https://discourse.julialang.org/t/cant-run-julia-from-windows-terminal-julia-1-8-2-windows-10/88847/7 "2025-09-02T08:05:39Z")

</div>

More information: I uninstalled the old Julia from the Windows app management, and forgot that it was installed from chocolate, so `where julia` returns nothing. In this case, just run `choco uninstall julia`, and everything is fine.
