(Optional) Local installation

Last updated: January 12, 2023

Installing Julia on your machine is entirely optional as you can run everything on the training cluster. If you would like to practice on your machine in addition to (or instead of) the training cluster, this lesson will guide you through the setup of your machine. Please note that we won't be debugging local installations.

Julia

Download the current Julia stable release and follow the installation instructions corresponding to your operating system.

Packages

You will also need a number of Julia packages. To install them,

  • open the Julia REPL (double-click on the Julia shortcut if you are on Windows/MacOS or type julia in the terminal if you are on Linux)
  • type ]
(you will see your prompt change from julia> to pkg>)
  • then run:
add BenchmarkTools

Text editor, IDE, or Jupyter

Text editor

To write scripts, you will need a capable text editor.
Examples include Emacs, Vim, Visual Studio Code, Sublime, Nano, Atom, Notepad++.

IDE

Additionally (and optionally), several text editors have a plug-in or extension turning them into an IDE for Julia. You can find a list of options at the bottom of the Julia website (example: Julia for VSCode).

Jupyter

You can also run Julia in Jupyter. See here to install the Julia kernel for Jupyter.

Comments & questions