grass-conda

Welcome to the grass-conda channel! This channel provides conda packages for GRASS, built from source as of 2026-06-16 05:51:02Z. It provides daily development snapshots. For official release conda packages, visit here.

grass is the latest release and grass-dev is a daily development snapshot.

See the GitHub repository for recipes, CI workflows, and build details.

Install

On Linux and macOS:

# install micromamba
curl -L https://micro.mamba.pm/install.sh | env \
  BIN_FOLDER="$HOME/local/bin" \
  PREFIX_LOCATION="$HOME/opt/micromamba" \
  sh

# source micromamba
source ~/.bashrc

# install GRASS (c-compiler for g.extension)
micromamba create -n grass -yc https://grass-conda.isnew.info/ grass-dev c-compiler

# run GRASS
micromamba run -n grass grass
  
On Windows CMD.exe:

rem install micromamba
mkdir %USERPROFILE%\local\bin
curl -L https://github.com/mamba-org/micromamba-releases/releases/latest/download/micromamba-win-64.exe -o %USERPROFILE%\local\bin\micromamba.exe

rem if %USERPROFILE%\local\bin is not in PATH
set PATH=%USERPROFILE%\local\bin;%PATH%
setx PATH %PATH%

rem set the root prefix of micromamba
set MAMBA_ROOT_PREFIX=%USERPROFILE%\opt\micromamba
setx MAMBA_ROOT_PREFIX %MAMBA_ROOT_PREFIX%

rem initialize micromamba
micromamba shell init --shell cmd.exe

rem setup conda-forge
micromamba config append channels conda-forge,nodefaults
micromamba config set channel_priority strict

rem install GRASS (c-compiler for g.extension); type micromamba, NOT micromamba.exe
micromamba create -n grass -yc https://grass-conda.isnew.info/ grass-dev c-compiler

rem run GRASS
micromamba run -n grass grass
  

Acknowledgments

The modernization of the GRASS build system, including the transition to CMake, Windows MSVC support, and conda packaging, is supported in part by the National Science Foundation (NSF) POSE program award 2303651.