# Determine version lanuched from terminal

**URL:** <https://discourse.julialang.org/t/determine-version-lanuched-from-terminal/58441>\
**Category:** General Usage\
**Created:** [April 2, 2021, 12:01pm UTC](https://discourse.julialang.org/t/determine-version-lanuched-from-terminal/58441 "2021-04-02T12:01:29Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![TheLateKronos](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/thelatekronos/32/12824_2.png) [@TheLateKronos](https://discourse.julialang.org/u/TheLateKronos)\
**Post date:** [April 2, 2021, 12:01pm UTC](https://discourse.julialang.org/t/determine-version-lanuched-from-terminal/58441/1 "2021-04-02T12:01:30Z")

</div>

I have added `C:\Users\username\AppData\Local\Programs\Julia 1.5.3\bin` to my path, so that I can launch Julia by typing `julia` in the terminal. I have since installed 1.6.0 via chocolatey. As far as I can tell, chocolatey have not added anything to my path, and there is no other file-path to the 1.6.0 folder in my “system path enviroment variable”.

However, when I now type `julia` in a terminal, `versioninfo()` tells me that 1.6.0 is launched. I would like to continue developing in my 1.5.3 enviroment, and I need it to be launchable via a terminal command.

How do I controll which version of julia is launched? Is it possible to chose to launch 1.6.0 with e.g. `julia160` and 1.5.3 with `julia153`? Or, if I have to choose, how do I do so?

---

<div class="post-metadata">

**Author:** ![MarcMush](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/marcmush/32/18006_2.png) [@MarcMush](https://discourse.julialang.org/u/MarcMush)\
**Post date:** [April 2, 2021, 12:55pm UTC](https://discourse.julialang.org/t/determine-version-lanuched-from-terminal/58441/2 "2021-04-02T12:55:48Z")

</div>

I use Powershell, here is what I do,  
you can define aliases in `$profile`:

```nohighlight
New-Alias julia1.6.0 C:\\Users\\user\\AppData\\Local\\Programs\\Julia-1.6.0\\bin\\julia.exe
New-Alias julia1.5.3 C:\\Users\\user\\AppData\\Local\\Programs\\Julia-1.5.3\\bin\\julia.exe
New-Alias julia julia1.5.3

```

to see where it is and edit it:

```nohighlight
echo $profile
notepad $profile

```
