Setup
Install Julia, configure your development environment, manage packages, and set up Jupyter integration for interactive data science.
Installing Julia
Download
Visit julialang.org/downloads and download the latest stable version for your OS.
Install
Run the installer (Windows/macOS) or extract the tarball (Linux). Add Julia to your PATH.
Verify
Open a terminal and type
juliato launch the REPL.
# Verify installation $ julia --version julia version 1.11.2 # Launch the REPL $ julia _ _ _ _(_)_ | Documentation: https://docs.julialang.org (_) | (_) (_) | _ _ _| |_ __ _ | | | | | | | |/ _` | | | | |_| | | | (_| | | Version 1.11.2 _/ |\__'_|_|_|\__'_| | |__/ | julia>
Package Management with Pkg
Julia has a built-in package manager. Press ] in the REPL to enter Pkg mode:
# Enter Pkg mode by pressing ] (@v1.11) pkg> add DataFrames CSV Plots # Add multiple data science packages (@v1.11) pkg> add Statistics LinearAlgebra (@v1.11) pkg> add Flux MLJ # Check installed packages (@v1.11) pkg> status # Update all packages (@v1.11) pkg> update # Press backspace to exit Pkg mode
VS Code Setup
Install VS Code
Download from code.visualstudio.com.
Install Julia Extension
Search for "Julia" in the Extensions panel and install the official extension by julialang.
Configure
The extension provides syntax highlighting, linting, debugging, inline results, and an integrated REPL.
Jupyter Integration
# Install IJulia for Jupyter support using Pkg Pkg.add("IJulia") # Launch Jupyter Notebook using IJulia notebook()
Project Environments
# Create a new project environment $ mkdir my-ds-project && cd my-ds-project $ julia --project=. # In Pkg mode, add project-specific packages (@my-ds-project) pkg> add DataFrames CSV Plots # This creates Project.toml and Manifest.toml
Project.toml and Manifest.toml for reproducibility.Ready to Go Deeper?
Live instructor-led courses from our partners. Affiliate disclosure.
AI & ML Courses - 30% Off
Live instructor-led AI, machine learning, data science, and cloud courses for working professionals. Use code Limited30 at checkout.
EdurekaDataCamp - AI & Data Science
Hands-on Python, machine learning, and AI courses with interactive exercises and real projects.
DataCampedX - Top AI Courses
University-level AI courses from MIT, Harvard, Stanford. Earn certificates that employers recognize.
edX