π¦ The package manager for OpenFOAM
10K+
The package manager for OpenFOAM
Simplify your OpenFOAM workflows with easy package installation, management, and distribution
styro brings modern package management to the OpenFOAM ecosystem, making it easy to discover, install, and manage community-contributed packages. Whether you're a researcher, engineer, and/or developer, styro streamlines your workflow by eliminating manual compilation and dependency management.

styro works with OpenFOAM (from either openfoam.comβ or openfoam.orgβ ).
Choose any of the following methods:
With pipβ (requires Python 3.9 or later):
pip install styro
With condaβ :
conda install -c conda-forge styro
With Homebrewβ :
brew install gerlero/openfoam/styro
Standalone binary (installs to $FOAM_USER_APPBIN):
/bin/bash -c "$(curl https://raw.githubusercontent.com/gerlero/styro/main/install.sh)"
Dockerβ image:
docker pull microfluidica/styro
| Command | Description | Example |
|---|---|---|
β¬ styro install <packages> | Install one or more packages | styro install cfmesh |
β¬οΈ styro install --upgrade <packages> | Upgrade already installed packages | styro install --upgrade cfmesh |
ποΈ styro uninstall <packages> | Remove installed packages | styro uninstall cfmesh |
π styro freeze | List all installed packages | styro freeze |
π styro install --upgrade styro | Upgrade styro itself (only for standalone installs) | styro install --upgrade styro |
styro automatically discovers packages from the community-maintained OpenFOAM Package Indexβ .
styro install cfmesh
Install packages from your local filesystem:
styro install /path/to/my-custom-package
Pro tip: Add a metadata.jsonβ file to the package directory to customize installation behavior.
Install directly from any Git repository:
styro install https://github.com/username/my-openfoam-package.git
Just like local packages, add a metadata.json file to the repository root for custom installation settings.
We welcome contributions! Here's how you can help:
Content type
Image
Digest
sha256:fee273d8aβ¦
Size
530.6 MB
Last updated
6 days ago
docker pull microfluidica/styroPulls:
437
Last week