Skip to content

uv Way (recommended)

This is the recommended way to install and run CAFE. It sets CAFE up as a global command, so you can open a terminal anywhere and just type:

Terminal window
cafe

The app opens in your web browser automatically. No need to cd into a folder or activate an environment first.

We use uv for this route because it also installs the correct Python 3.12 for you — so this works even if you don’t have Python installed.

Terminal window
# macOS / Linux
curl -LsSf https://astral.sh/uv/install.sh | sh
# Windows (PowerShell)
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"

Close and reopen your terminal afterwards so the uv command is found.

CAFE is not published on PyPI, so you always install it straight from the GitHub repository. uv fetches the right Python automatically during install:

Terminal window
uv tool install "git+https://github.com/mhbsiam/cafe"

Then launch it from any directory:

Terminal window
cafe

This automatically opens CAFE in your web browser. The initial setup may take longer on your first launch.

To update later, reinstall from the same URL to pull the newest version:

Terminal window
uv tool install --force "git+https://github.com/mhbsiam/cafe"

The installed package is named cafe-app. To remove it:

Terminal window
uv tool uninstall cafe-app

Installing CAFE also provides an extra command:

  • cafe-hpc — the command-line HPC pipeline (see the HPC docs for options).