Installing Julia & Pluto

I - Installing Julia

Note

When you see below add Pluto ↩ Enter , it means that you should type “add Pluto” followed by pressing “Enter” on our keyboard. And when you see AltGr + 9 it means that you need to press the key AltGr and the key 9, keeping the first pressed.

The installation instructions for Julia vary depending on your Operating System (OS). Please choose your OS tab in the following box to see the appropriate instructions.

  1. To make sure that you download the correct executable for the Windows OS, you can download it from Windows installer Julia v1.10.4
  2. Check your Downloads folder and double-click the file you have just downloaded to run it
  3. Allow the installation to be done in the default directory
  4. Click on:
    If for whatever reason you missed the previous step, please restart the installation process.
  5. Click on: Finish

🎉 Well done! By now, Julia should be correctly installed on your PC.
To run it, search for the icon .

  1. Be careful to choose the correct Apple executable
    according to the processor (Intel/Rosetta or Apple Silicon) you have on your Mac: this means that you have to choose (2) or (3) below.
  2. If your Mac has an Intel or Rosetta processor, you can download the correct executable from macOS x86 (Intel or Rosetta) Julia v1.10.4
  3. If your Mac has an Apple Silicon processor, you can download the correct executable from macOS (Apple Silicon) Julia v1.10.4
  4. Check your Downloads folder and drag it to the Applications folder

🎉 Well done! By now, Julia should be correctly installed on your PC.
To run it, search for the icon in Applications.

  1. Download the executable: 64-bit (.glibc) (for distributions like Ubuntu or Mint) from Generic Linux on x86 Julia v1.10.4
  2. Enter the compressed folder and extract the folder julia-1.10.4 to your Home directory.
  3. Inside the folder julia-1.10.4 there should be another folder named bin. Get the path to that folder by clicking with the right button of your mouse and choosing Properties
  4. Return to your Home directory and search for a file called .profile
    The file .profile is a hidden file. If you don’t see it, turn the hidden files visible.
  5. At the end of the file .profile add PATH="/home/<user>/<julia-1.10.4>/bin:$PATH"
    Notice that the part /home/<user>/<julia-1.10.4>/bin should be exactly what you copied from the properties of the bin folder some steps before.
  6. Please restart your PC right now.

🎉 Well done! By now, Julia should be correctly installed on your PC.
To run it, open a terminal and run: julia ↩ Enter
To open a Terminal search for the icon .

II - Installing Pluto

Next we will install Pluto. Remember Pluto is a Julia Package. This means that we install it and run it from inside Julia.

  1. Run Julia the way you were told at the end of the installation instructions above (it varies according to te OS you have). You should bee seeing a window like this:

    By now, you should be comfortable with the fact that Julia has a weird old-school interface. That’s why we use a fancy IDE like Pluto!

  2. With Julia running, type the character ], usually by using the keyboard combination AltGr+9 or Ctrl+Alt+9 in Windows and Linux, and option+9 on a Mac. The previous window should become like this:

  3. Then type: add Pluto ↩ Enter

  4. When the Pluto installation is completed, press ⟵ Backscape to leave the pkg> mode and go back to the julia> mode.

🎉 Well done! By now, Pluto should be correctly installed on your PC. To start Pluto, in the Julia window run:
import Pluto; Pluto.run() ↩ Enter
Notice the space between import and Pluto, the dot between Pluto and run(), and the semicolon ; separating both expressions. All these details are critical!

Pluto will run in a window of your default Browser (we recommend Google Chrome or Firefox).

III - Updating Pluto

The team that created Pluto updates this package regularly. So, it is advisable to update Pluto occasionally to get the newest version on your computer. As Pluto is a Julia package, this means that we will have to update it from inside Julia.

  1. Run Julia the way you were told at the end of the installation instructions above (it varies according to the OS you have). You should bee seeing a window like this (julia> mode):

  2. With Julia running, type the character ] . In Windows (and Linux) this character is achieved using the keyboard combination AltGr+9 or Ctrl+Alt+9; in Mac by using option+9. The previous window should become like this (pkg> mode):

  3. Then type: up ↩ Enter

  4. When the Pluto update is completed, press ⟵ Backscape to leave the pkg> mode and go back to julia> mode.

🎉 Well done! By now, you have the latest version of Pluto installed on your PC. To start using Pluto see the following section.