Julia Lang beginner starter codes from the Book Learning Path Julia 1.0 Programming Complete Refrence Guide
To install the Julia on your machine follow the instructions given on Julia Download page.
Or
-
Install the latest Julia version by running this in your terminal:
curl -fsSL https://install.julialang.org | sh
-
Test the installtion by typing the
julia
in terminal, don't forget to reactivate the terminal. suggestion: To exit Julia, use Ctrl-D, or type exit() and press enter.- To check the Julia version, call
versioninfo()
method in thejulia
terminal.julia> versioninfo() Julia Version 1.10.3 Commit 0b4590a5507 (2024-04-30 10:59 UTC) Build Info: Official https://julialang.org/ release Platform Info: OS: macOS (arm64-apple-darwin22.4.0) CPU: 10 × Apple M2 Pro WORD_SIZE: 64 LIBM: libopenlibm LLVM: libLLVM-15.0.7 (ORCJIT, apple-m1) Threads: 1 default, 0 interactive, 1 GC (on 6 virtual cores)
- To check the Julia version, call
-
JupyterNotbook (Optional), run the following command to Julia kernel as shown above.
using Pkg; Pkg.add("IJulia")
-
To install any package in
Julia
using the package managerPkg
of Julia. i.e to install thePlots
package run the following in the Julia terminaljulia> using Pkg julia> Pkg.add("<package name>") julia> Pkg.add("Plots") # Example
Note: This repo is in progress.