# Problem using Julia in VS Code

**URL:** <https://discourse.julialang.org/t/problem-using-julia-in-vs-code/77160>\
**Category:** New to Julia\
**Tags:** question, vscode\
**Created:** [February 27, 2022, 6:02pm UTC](https://discourse.julialang.org/t/problem-using-julia-in-vs-code/77160 "2022-02-27T18:02:34Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![pafloxy](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/pafloxy/32/28694_2.png) [@pafloxy](https://discourse.julialang.org/u/pafloxy)\
**Post date:** [February 27, 2022, 6:02pm UTC](https://discourse.julialang.org/t/problem-using-julia-in-vs-code/77160/1 "2022-02-27T18:02:34Z")

</div>

I have recently installed VS code in my system, and added julia as an extension in it. However I have not been able to run julia scripts in it !

I was trying to run a simple `helloworld` script but it ended up with this message  
`The terminal process failed to launch: Path to shell executable "julia" is not a file or a symlink.`

---

<div class="post-metadata">

**Author:** ![TI36XPro](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ti36xpro/32/33658_2.png) [@TI36XPro](https://discourse.julialang.org/u/TI36XPro)\
**Post date:** [February 28, 2022, 4:36am UTC](https://discourse.julialang.org/t/problem-using-julia-in-vs-code/77160/2 "2022-02-28T04:36:33Z")

</div>

Can you be more specific? What button or command are you using in VSCode to try to run your script? Also, I assume you already had Julia installed on your computer before you installed VSCode and the Julia extension.

---

<div class="post-metadata">

**Author:** ![pafloxy](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/pafloxy/32/28694_2.png) [@pafloxy](https://discourse.julialang.org/u/pafloxy)\
**Post date:** [February 28, 2022, 4:57am UTC](https://discourse.julialang.org/t/problem-using-julia-in-vs-code/77160/3 "2022-02-28T04:57:50Z")

</div>

Yes I had Julia installed already!  
Just wrote a one liner on Hello world and then clicked the green Run button as required!

---

<div class="post-metadata">

**Author:** ![pfitzseb](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/pfitzseb/32/45566_2.png) [@pfitzseb](https://discourse.julialang.org/u/pfitzseb)\
**Post date:** [February 28, 2022, 8:40am UTC](https://discourse.julialang.org/t/problem-using-julia-in-vs-code/77160/4 "2022-02-28T08:40:26Z")

</div>

I recommend taking a look at our [“Getting Started” tutorial](https://www.julia-vscode.org/docs/stable/gettingstarted/). In particular, you’ll need to point the extension to your Julia installation.

---

<div class="post-metadata">

**Author:** ![mcreel](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mcreel/32/30088_2.png) [@mcreel](https://discourse.julialang.org/u/mcreel)\
**Post date:** [February 28, 2022, 10:31am UTC](https://discourse.julialang.org/t/problem-using-julia-in-vs-code/77160/5 "2022-02-28T10:31:22Z")

</div>

Might be overkill, but since it’s out there, here’s a video that shows how to set up the extension, and, in particular, where to verify that your julia installation is found.

[![](https://global.discourse-cdn.com/julialang/original/3X/8/b/8b3fa0310d38a164d02f819d252980f540731dd3.jpeg "Comfort") ](https://www.youtube.com/watch?v=Nbhmq4VWVJU&t=50)

---

<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:** [February 28, 2022, 2:57pm UTC](https://discourse.julialang.org/t/problem-using-julia-in-vs-code/77160/6 "2022-02-28T14:57:54Z")

</div>

In case you use Windows, the portable Julia solves your problem by setting everything up automatically.

> [@Portable Julia](https://discourse.julialang.org/t/portable-julia/45339/16):
>
> Portable Julia update: bundled with Julia 1.7.1, newest VSCode (1.63.2). [Portable\_Julia-1.7.zip](http://hogwarts.ucsd.edu/~pkrysl/shared/Portable_Julia-1.7.zip) Edit: With VSCode 1.64.2 and Julia 1.7.2. [Portable\_Julia-1.7.2.zip](http://hogwarts.ucsd.edu/~pkrysl/shared/Portable_Julia-1.7.2.zip)
