The latest stable release of FEniCSx is version 0.5, which was released in August 2022.
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.