Skip to content
Overview

Installation

Install COMPAS with uv, mamba, conda or pip.

COMPAS is a regular Python package on PyPI and conda-forge. Pick one package manager and use it on every step below; the tabs stay in sync.

Requirements

You need a supported Python version and one of these package managers:

  • uv, which is fast and manages Python for you. We recommend it.
  • Miniforge, which provides both mamba and conda.
  • Python, which includes pip.

Install COMPAS

uv init my-project
cd my-project
uv add compas

Verify the installation

uv run python -m compas

This prints the installed version, for example 2.15.1.

Update COMPAS

uv sync --upgrade-package compas
Extensions install the same way. Replace compas with the package name, for example uv add compas_viewer. See Packages for what is available.