The package can be installed with the Julia package manager.
From the Julia REPL, type ]
to enter the Pkg REPL mode and run:
pkg> add FieldDistributionNonuniformMedium
julia> using FieldDistributionNonuniformMedium
julia> s = Simulator();
julia> simulate!(s);
julia> plot_e_field(s)