Getting started

The latest stable release of FEniCSx is version 0.4, which was released in May 2022.


FEniCSx can be built from source manually or using Spack.

Binary distributions are are available as Debian/Ubuntu packages and in Docker images.

Running FEniCSx with JupyterLab using Docker

An easy way to get started with FEniCSx in JupyterLab is with Docker. This image can be downloaded by running:

docker pull dolfinx/lab

The image can then be started by running:

docker run -p 8888:8888 dolfinx/lab

A URL will then be output in the terminal that leads to the Jupyter lab. From there, Jupyter notebooks and Python scripts can be created and run.

Legacy FEniCS

Instructions for installing the legacy version of FEniCS (version 2019.1.0) can be found here.