(Optional) Local installation

Last updated: January 12, 2023

 Table of contents

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 to install a number of Julia packages:

  • Launch 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 ]
(Your prompt will change from julia> to pkg>)
  • Run:
add CSV DataFrames StatsPlots TimeSeries BSON

Text editor, IDE, or notebooks

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 ).

Notebooks

You can also run Julia in Jupyter thanks to the Julia kernel.
Alternatively, Julia has its own interactive notebook called Pluto.

Comments & questions