Skip to main content
Version: 3.x


We recommend using prebuilt bindings if they are available for your programming language. Bindings for Go, Java, JavaScript, Python, and others are available.

Package managers#

Using PyPi, run:

pip install h3

Using Conda, run:

conda config --add channels conda-forge
conda install h3-py

Install from source#

First, clone the repository or download the source and check out the latest release:

git clone
cd h3
git checkout v$(<VERSION)

You will need to install build dependencies for your operating system.

Next, you can build the library:

mkdir build
cd build
cmake ..
cmake --build .

Optionally, to run H3's test suite, run:


By default, the filter applications are built when you build H3. You can confirm they are working by running:

./bin/geoToH3 --lat 14 --lon -42 --resolution 2