If this channel isn't in your workspace yet, add it first:
pixi workspace channel add --prepend https://prefix.dev/conda-forgeThen install the package:
pixi add rootInstall globally (CLI tools)
For packages that expose command-line tools, install globally to use them anywhere:
pixi global install --channel https://prefix.dev/conda-forge rootpython followed by import ROOT to access all ROOT functionalities via the Python bindings.root --notebook will start a notebook server with a ROOT kernel choice.rootbrowse will open a TBrowser session so you can look through files.root -b -q -l $ROOTSYS/tutorials/analysis/dataframe/df013_InspectAnalysis.C will run a DataFrame example with an animated plot.root -b -q -l -n -e "std::cout << TROOT::GetTutorialDir() << std::endl;" will print the tutorial dir.See the post here for more information about using this Conda package.
The ROOT package will prepare the required compilers. Everything in Conda is symlinked into
$CONDA_PREFIX if you build things by hand; tools like CMake should find it automatically.
There is also a root_base package, with minimal dependecies, that libraries should depend on this to avoid
having a runtime dependency on the compilers package. In most cases users should use the root package directly,
since it adds more features (taking care of their dependencies) to facilitate usage of the ROOT Python bindings.