Run pgmodeler-cli without building or installing.
docker run -v $(pwd):/some/path geertjohan/pgmodeler-cli pgmodeler-cli --input /some/path/some.dbm --export-to-file --output /some/path/some.sql
Older versions are available, please see the docker hub for available tags