Skip to content

Install from conda-forge

The easiest way to install wgrib2 for Linux or Mac is from conda-forge.

Conda-version

Install wgrib2 globally using pixi

pixi global install wgrib2
$ pixi  global install wgrib2
└── wgrib2: 3.8.0 (installed)
    └─ exposes: gmerge, smallest_4, smallest_grib2, wgrib, wgrib2

Create a conda environment named "wgrib2" with the wgrib package installed.

mamba create -n wgrib2 wgrib2

Now you can run the wgrib2 command with

mamba run -n wgrib2 wgrib2 <options>

Or activate the environment and then run:

mamba activate wgrib2
wgrib2 <options>

Install wgrib2 from conda-forge:

conda install conda-forge::wgrib2

There are no pre-built wgrib2 builds for Windows.