The Matter/CHIP All Clusters App implements all the Matter clusters. It can be used to simulate a Matter device on Linux.
Install from the store:
sudo snap install matter-all-clusters-app
Build:
snapcraft -v
Install the locally built snap:
sudo snap install --dangerous ./matter-all-clusters-app_*_amd64.snap