Installation & Tooling

2.1 Install with juliaup (recommended)

macOS / Linux Manage versions:

winget install --name Julia --id 9NJNWW8PVKMN -e -s msstore
curl -fsSL https://install.julialang.org | sh
juliaup status
juliaup add lts
juliaup add release
juliaup default release
julia +lts          # run a specific channel

2.2 Editors & environments

VS Code + Julia extension the main IDE: REPL, debugger, plot pane, profiler, LSP Jupyter (IJulia)

Ju(lia)Py(thon)R — Julia was one of Jupyter's founding languages reproducible documents with Julia via LanguageServer.jl, julia-vim, julia-snail

2.3 Running Julia

julia                       # REPL
julia script.jl arg1 arg2   # run a script
julia -e 'println(1 + 1)'   # evaluate an expression
julia -t 8                  # start with 8 threads (or -t auto)
julia --project=.           # activate the environment in the current directory
julia -O3 --check-bounds=no # optimization flags (use carefully)