pixi global install rattler-build  # good to have anywaymicromamba env create --yes --file environment.yml
micromamba activate local-conda-package-install-examplerattler-build build  # defaults to --recipe recipe.yaml$ tree -L 2 output/
output/
├── bld
│   └── rattler-build_xtensor_1723239688
├── linux-64
│   ├── repodata.json
│   └── xtensor-0.24.6-hb0f4dca_0.conda
├── noarch
│   └── repodata.json
└── src_cache
    ├── 0_24_6_f87259b5
    └── 0_24_6_f87259b5.tar.gz
6 directories, 4 filesmicromamba install --channel ./output/ xtensor# Linux
$ g++ -I $CONDA_PREFIX/include/ example.cpp -o example
# macOS
$ clang++ -I $CONDA_PREFIX/include/ example.cpp -o example
$ ./example
# {  7.,  11.,  14.}