For those who may be interested in integrating Julia with Windows terminal.
-
After Windows terminal is launched, go to setting (Unlike mine, you should only have a Windows PowerShell entry by default )
-
A JSON configuration file will be opened with some editor (for me, it is VS Code). In the “list” items, we see the default entry for Windows Powershell. Next, we will add an entry for Julia.
-
Copy the entry of Windows Powershell and paste it below (still inside “list”).
3.1 Change the “guid” to make it unique, e.g., simply change one digit in the original “guid”.
3.2 Change “commandline” to the correct path of the Julia executable (julia.exe).
3.3 Change other properties as you like. The JetBrains Mono font is highly recommended. (Of course, you must have it installed on your system first.)
The snapshot of the final result on my system is given below.
Do note that the comma inside the green box above is required for a legal JSON file. -
Now return to the Windows terminal. You will find Julia just there.
Click it and the Julia terminal is launched as usual. Done! You can beautify further the appearance, e.g., pick a theme of your favourite.
I have also used OhMyREPL above for better syntax highlighting in Julia.