Home Tutorials How to Add Julia to Visual Studio Code Editor on Windows

How to Add Julia to Visual Studio Code Editor on Windows

In this short tutorial, we are going to show you how to add Julia language to Visual Code editor on windows 10.

Steps for Adding Julia Language to VS Code Editor

In this section, we will give detailed instructions to get set up on Windows 10.

Let’s get started.

Follow the steps below to connect Julia language to the Microsoft VS Code editor.

Step #1: Install Julia Language

At the outset, all you need to do is install Julia language on your machine. You should use the latest version.

Step #2: Download and Install VS Code

Visual Studio Code is a free and open-source code editor. To get started on windows, download the Visual Studio code.

VScode is available from its official website. You can download the Visual Studio Code using this link.

Once you click on the link then the following page will appear:

Add Julia Visual studio Code
Visual Studio Code Editor

Now,  hover your mouse over the Download for Windows, and then click the button to download the VS code.

Here, we recommend you download the stable release of VS Code from their website.

After downloading the VS Code, you open the following setup to start the installer:

VS Code Setup File for visual studio
VS Code Setup File

Once you have opened the setup file, you should see the installation window like this:

Installation Microsoft VS Code for adding julia
Installation MS VS Code

Now, click “Install” to continue with the installation. When it is completed, you are done installing the Visual Studio Code.

Step #3: Set Up the Environment Variables

Follow the steps to open the “Advanced system setting” for setting up the environment variables.

1. Right-click on Computer icon (This PC) and go to properties

2. Choose “Advanced system setting

Advanced System Setting in Windows to add Julia
Advanced System Setting in Windows

3. After selecting the Advanced tab, click on the Environment Variables button.

4. You can create new environment variables by clicking on the New button.

5. Besides, you can also modify the existing environment variables.

Set Up Address Path to add Julia in VS Code
Set Up Address Path

6. You copy the software installation path and then paste it here.

7. In our case, the software installation location is

Software Installation Location for Julia
Software Installation Directory
Environment Variables Dialog set up in VS Code
Environment Variables Dialog

Step #4: Run Julia Code in VS Code Editor

In this step, we will show you how to add Julia extension in VS Code.

Now, you open the VS code editor to add Julia.

Type Julia in the search bar and then click on install.

It may take a few seconds to add the extension.

The following editor window shows the installation of Julia.

Adding Julia to VS Code on Windows
Integrating Julia to VS Code

After connecting Julia to VSCode, you can write code in the editor.

Let us verify things are configured correctly.

Below is the screenshot of the Julia source code.

We write a simple code to test the configuration.

Adding Julia program in VSCode Editor on Windows
Julia Program in VSCode Editor

After writing the code, you open the terminal and then type the command to run the code.

Output of Julia Code on windows
Julia Program’s Output

As you can see in the above screenshot, it is now running properly.

We hope you find this short tutorial on how to add Julia to Visual Code editor on windows is helpful.

Dr. Ujjal Marjit, PhDhttps://researcherssite.com
Dr. Ujjal Marjit leads the Centre for Information Resource Management of the University of Kalyani, India. He received his bachelor honours degree from Visva Bharati, Central University and Master in Computer Application from Jadavpur University, India.He did his BLISc and MLISc from Madurai Kamraj University, India. He obtained his PhD in Computer Science and Engineering from University of Kalyani. He was also a visiting researcher at Norwegian University of Science and Technology (NTNU), Norway. Dr. Marjit was a member of the Association for Computing Machinery (ACM), USA. He has coauthored several book chapters and over 70 research publications in various International Journals and Conferences. Dr. Marjit attended many national and international conferences in India and abroad ( Germany, London, Finland, Norway, Netherlands). He has been working in University since 2001.


Please enter your comment!
Please enter your name here

Most Popular

Useful Tool for Identifying Predatory Journals

In this post, I show you how to identify predatory journals using the "Compass to Publish", a useful tool.

Must-Have Browser Extensions for Academic Research

In this article, I share some must have browser extensions for academic research in any domain.

How to Make Your Academic Research Paper Open Access, for Free

This article describes how to make your academic research paper open access, for free using shareyourpaper.org tool

How to Find Relevant Research Papers to Speed Up Your Literature Review

How to Find the Relevant Academic Literature to Speed Up Literature Review Using the Inciteful Tool