First, please download the jar file of the Peer-Model translator and follow the instructions in the readme file https://github.com/peermodel/translator#readme there.
Then check out examples from https://github.com/peermodel/examples and follow the instructions found in the readme file https://github.com/peermodel/examples#readme there.
Tutorial on how to model a use case and how to use the toolchain: youtu.be/SkuHuomUCtY.