Installation¶
Stable release¶
To install nzshm-hazlab, run this command in your terminal:
using pip¶
$ pip install nzshm-hazlab
using uv¶
$ uv add nzshm-hazlab
These are the preferred methods to install nzshm-hazlab, as they will always install the most recent stable release.
If you don't have pip installed, this Python installation guide can guide you through the process.
From source¶
The source for nzshm-hazlab can be downloaded from the Github repo.
You can either clone the public repository:
$ git clone git://github.com/GNS-Science/nzshm-hazlab
Or download the tarball:
$ curl -OJL https://github.com/GNS-Science/nzshm-hazlab/tarball/master
Once you have a copy of the source, you can install it with:
$ pip install .