Determine version lanuched from terminal

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

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:

echo $profile
notepad $profile
4 Likes