Julia Setup via juliaup

1 Windows Users

  1. Go to Microsoft App store and Install Julia App.

  2. Download and Install VS Code.

  3. Install the Julia VS Code Extension.

  4. After installation, the “install button” will turn into a gear icon. Once you click on the gear icon, a dropdown menu will popup. From that list, choose Extension Settings.

  5. Without unselecting the text on the extension search bar, type exe. Make sure the Julia: Executable Path field is completely blank.

  6. To start a Julia session inside VS Code, press Ctrl + Shift + P. From the dropdown list, choose Julia: Start REPL

  7. If you want to start Julia REPL without VS Code, you go to your command line and type julia and hit enter.

1.1 UnderstandingJuliaup

Juliaup is a Julia version manager and is automatically installed when you install the Julia App from Microsoft App Store. Juliaup lets you add, update, and remove different Julia versions very easily.

To use juliaup, you open your command line and type juliaup and the command you want to run.

  • juliaup status prints all the julia version installed in your PC.
  • juliaup add release installed the latest stable version of Julia.
  • juliaup add 1.8.3 will install Julia 1.8.3.
    • To see the list of available julia version, run juliaup list
  • juliaup default 1.8.3 sets the default version of Julia in your PC as Julia 1.8.3. This also defines what version of Julia will be called while you start a Julia session in VS Code.
  • juliaup remove 1.8.3 will remove Julia 1.8.3 from your PC.

2 Mac User

  1. Install homebrew package manager for Mac

To install homebrew, you can copy-past and run the below code on your terminal:

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
  1. Install Juliaup via homebrew

Run the following code in your terminal:

brew install juliaup
  1. Follow instructions in Section 1.1 to install/remove a particular version of Julia.