| title | The preCICE CLI |
|---|---|
| permalink | tooling-cli.html |
| keywords | tooling, xml, configuration, version, cli, pypi |
| summary | The preCICE CLI provides a unified interface to the main preCICE tools. |
The precice-cli package provides an easy-to-use interface for the builtin tools of preCICE and a range of python-based tooling.
To install the cli locally as a runnable program, we recommend using either pipx by the Python Packaging Authority or uv by the Astal project.
$ pipx install precice-cli
installed package precice-cli 1.0.0, installed using Python 3.13.7
These apps are now globally available
- precice-cli
done! $ uv tool install precice-cli
Resolved 39 packages in 11ms
Installed 39 packages in 15ms
Installed 1 executable: precice-cliprecice-cli offers some basic sub commands and categories:
precice-cli versionThis subcommand displays the version of the precice-cli and all preCICE-related dependencies. If the preCICE library is installed, it also shows its version and configuration.
precice-cli profiling merge
precice-cli profiling traceThis subcommand group exposes all commands from the precice profiling tools.
precice-cli config check
precice-cli config visualize
precice-cli config formatThis subcommand group includes configuration related commands such as checking, visualization, and formatting. The check command first validates the given configuration using the builtin tool and then runs the config checker on it.
precice-cli initThis experimental command initializes a preCICE case using a topology file. Have a look at the case generation repository for up-to-date information on the development.