Installation
Prerequisites
Julia 1.6 or greater. For installation, please refer to the official Julia Website.
Installing DirectedAcyclicGraphs
From Command Line
To install the latest stable release, run:
julia -e 'using Pkg; Pkg.add("DirectedAcyclicGraphs")'
To install the package with the latest commits on master branch, run:
julia -e 'using Pkg; Pkg.add(PackageSpec(url="https://github.com/Tractables/DirectedAcyclicGraphs.jl.git"))'
From Julia Pkg REPL
To get to Pkg mode, you need to run julia
, then to press ]
. Press backspace or ^C to get back to normal REPL mode.
While in Pkg mode, run the following to install the latest release:
] add DirectedAcyclicGraphs
Similarly, to install from the latest commits on main branch, run:
] add DirectedAcyclicGraphs#main
Testing
If you are installing the latest commit, we recommend running the test suite to make sure everything is in order, to do that run:
julia --color=yes -e 'using Pkg; Pkg.test("DirectedAcyclicGraphs")'