# Portable Julia

**URL:** <https://discourse.julialang.org/t/portable-julia/45339>\
**Category:** General Usage\
**Created:** [August 21, 2020, 9:50pm UTC](https://discourse.julialang.org/t/portable-julia/45339 "2020-08-21T21:50:35Z")\
**Posts on this page:** 3\
**Page:** 2

<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:** [May 28, 2022, 3:15am UTC](https://discourse.julialang.org/t/portable-julia/45339/21 "2022-05-28T03:15:51Z")

</div>

Maybe you could consider this?

1. VSCode has a built-in terminal. Use that, it will have access to Julia.  
 ![image](https://global.discourse-cdn.com/julialang/original/3X/1/c/1cebbc66750283354b04bf209f4b328f14b06a20.png)
2. Changing the initial project is easy. In fact, all it takes is to change this block of shell script  
 ![image](https://global.discourse-cdn.com/julialang/original/3X/5/8/58a4c99ebf6031a047dca40951d155e0a6398fb3.png)  
But, opening a folder to the project you would like to switch to in the editor is literally just a couple of steps.

---

<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:** [May 28, 2022, 8:56am UTC](https://discourse.julialang.org/t/portable-julia/45339/22 "2022-05-28T08:56:29Z")

</div>

> [@PetrKryslUCSD](#):
>
> VSCode has a built-in terminal.

Well, I know that, I use it every day. But it does not solve my need for a real windows terminal. Reasons:

1. Not all commands work in the vscode terminal. For example the command `bin\run_julia` (a file run\_julia.bat exists) works in the windows terminal, but not in the vscode terminal
2. often my git credentials work in the windows terminal, but not in in the vscode terminal
3. if I teach and the situation is that a command does not work, then the reason often is a misconfiguration of vscode. To debug this situation I prefer to have a pure terminal where not much can be misconfigured.

And of course bash is more nice than the standard windows terminal, but I cannot expect every student to have bash installed.

---

<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:** [May 28, 2022, 1:36pm UTC](https://discourse.julialang.org/t/portable-julia/45339/23 "2022-05-28T13:36:55Z")

</div>

Well, that is the point of this install: it provides a preconfigured bash. And, of course your editor can start one:

 ![image](https://global.discourse-cdn.com/julialang/original/3X/6/5/65888b72535b42f6f5c4cb2ec04198fbbcf2b63f.png)

The Julia process runs from a bash in the editor, so that I have a sane “shell”!

 ![image](https://global.discourse-cdn.com/julialang/original/3X/b/2/b2953034be8df29ca7fb9c3e13d92e99cdfdc15a.png)

And, it is possible to start a new terminal WINDOW from your vscode, which is preconfigured to find the portable julia:

 ![image](https://global.discourse-cdn.com/julialang/original/3X/6/3/63b0cdf1cd47a6dcf890d1c537dadf2a6eb7a210.png)  
Or, like this with powershell:  
 ![image](https://global.discourse-cdn.com/julialang/original/3X/2/9/29b98722b14439dd1c2f5c2843da65593dde1e70.png)

I do not know why the batch file would not run. But we can try to debug…

Hope this helps?

[Previous page](https://discourse.julialang.org/t/portable-julia/45339.md?page=1)
