Install Julia on OS first. Then, in an IDE with Julia installed (e.g., Atom), one can install this package by
julia> ]
(@v1.6) pkg> add https://github.com/deconvolution/JSWAP_2DR
There is an example under "./examples" for a square solid bounded by air.