Installing Julia is easy, but perhaps you also want to install an integrated development environment (IDE) or a version control system (e.g. git), therefore I give some hints how to do that in this blog post.
Furthermore there are different ways to install multiple Julia versions in parallel and to keep your version up-to-date which are also explained in this blog post.
Highlights of version 1.8 of Julia are explained here .
Installation of Julia
Please download and install Julia as explained here .
Choose the “64-bit (installer)”. Make sure to check the option “Add Julia to path” when running the installer.
For advanced users it is suggested also to install git for Windows which also includes the
bash command line interface, very useful for small automation tasks. The git version control system keeps track of the changes of your files and allows SW development in a team.
It is suggested to launch Julia from the command line, using either the “Windows command prompt” or “bash” by typing
julia --project (if you work with projects). If you never used a command prompt before, read the Beginners Guide.
An installer and version manager for Julia called juliaup is available in the Microsoft Store. It can be used to install specific Julia versions or update to the latest release. This package handles all PATH related aspects of Julia, and alerts users when new Julia versions are released.
Uninstallation is preferably performed by using the Windows uninstaller. The directory in %HOME%/.julia can then be deleted if you want to remove all traces of Julia (this includes user installed packages).
Copy and past the following line to install the latest stable version of Julia:
bash -ci "$(curl -fsSL https://raw.githubusercontent.com/abelsiqueira/jill/master/jill.sh)"
If you want to be able to easily switch between different versions of Julia consider to install the Python version of jill .
pip install jill --user -U jill install 1.8
If you should later install version 1.9 with
jill install 1.9 you can then switch between the versions with
jill switch 1.8 etc.
It is suggested to add the following line to your
This makes it possible to run julia with the shortcut
jl later, if you have a
run_julia script in the
bin folder of your projects. I suggest to use such a script, the most simple version of it would just contain the line
julia --project .
Please download Julia here .
A julia-1.8.0-mac64.dmg file is provided, which contains Julia-1.8.app. Installation is the same as any other Mac software: drag the Julia-1.8.app to Applications Folder’s Shortcut. The Julia download runs on macOS 10.9 Mavericks and later releases.
You can launch Julia by opening the Julia app like any other application.
Add Julia to PATH
If you want to launch Julia from the command line, first open a new terminal window, then run the following snippet from your shell (e.g., using the Terminal app, not inside the Julia prompt).
sudo mkdir -p /usr/local/bin sudo rm -f /usr/local/bin/julia sudo ln -s /Applications/Julia-1.8.app/Contents/Resources/julia/bin/julia /usr/local/bin/julia
This code creates a symlink to a Julia version (here 1.8) of your choosing. To launch Julia, simply type
julia inside your shell and press return. If you are working with projects, use the command
Installing multiple versions in parallel
The jill installers will most likely also work on Mac and allow easy switching of different Julia versions (see Linux section).
You can uninstall Julia by deleting
Julia.app and the packages directory in
~/.julia . Multiple
Julia.app binaries can co-exist without interfering with each other. If you would also like to remove your preferences files, remove
Installation of the IDE VSCode
It is useful to install the integrated development environment VSCode, even though it is not required. You can also use any editor of your choice.
VSCode provides syntax highlighting, but also the feature “goto definition” which can help to understand and explore the code.
You can download and install VSCode for all operating systems here .
For Ubuntu Linux the following ppa can be used to install vscode and to keep it up-to-date: https://www.ubuntuupdates.org/ppa/vscode .
Installing the Julia extension
- Start or open Visual Studio Code.
- Select View and then click Extensions to open Extension View.
- Enter the term
juliain the marketplace search box. Click the green Install button to download the extension.
You successfully downloaded the Julia extension for VS Code.
NOTE: It is recommended that you restart VS Code after installation.
Julia development with VSCode is well documented here: Julia Visual Studio Code Documentation
I would NOT use all the advanced features of julia-vscode, I prefer to just use the vscode terminal and launch julia from the terminal. This makes it easy to launch Julia with any command line options and also to start and restart Julia quickly.
Other useful VSCode extensions
- Project Manager
- Better TOML
- Code Spell Checker
VScode supports git out-of-the box.