installing julia
Follow their instructions to install the latest version of julia, currently v1.5.2.
On a Mac, I created a link to the Julia executable in a directory on my PATH, to be able to start julia from a terminal:
ln -s /Applications/Julia-1.5.app/Contents/Resources/julia/bin/julia /usr/local/bin/julia
To test that your installation worked, try
$ julia --version
julia version 1.5.2
$ julia
_
_ _ _(_)_ | Documentation: https://docs.julialang.org
(_) | (_) (_) |
_ _ _| |_ __ _ | Type "?" for help, "]?" for Pkg help.
| | | | | | |/ _` | |
| | |_| | | | (_| | | Version 1.5.2 (2020-09-23)
_/ |\__'_|_|_|\__'_| | Official https://julialang.org/ release
|__/ |
julia> 2+2
4
then click Control-D to quit julia, or exit()
.
To get help on Julia, use the extensive and well-written documentation
- Jupyter can use Julia as its backend kernel
- Pluto creates notebooks similar to Jupyter’s, but “reactive” and in pure julia: no external installation. We will see later how to install Pluto.
- in VS Code: get the
“Julia” extension
to recognize
.jl
files as julia scripts, and Markdown Julia to get syntax highlighting in julia code blocks - in Atom:
- get the package atom-language-julia
- or get the Juno Integrated Development Environment (IDE)
- see also JuliaEditorSupport for other editors (vim, emacs) and further developments
next: