The latest stable release of FEniCSx is version 0.6, which was released in January 2023.
FEniCSx can be built from source.
Binary distributions (container images, conda, Ubuntu packages etc.) are also available.
Instructions for installing the legacy version of FEniCS (version 2019.1.0) can be found here.