Entirely NOT unctional at the moment. See this repository/gem for the Ruby version which is semi-functional.
mpm search <query>
mpm install <query>
mpm (uninstall|remove) <query>
mpm list [query]
mpm upgrade
mpm update <query>
mpm info <query>
mpm clean
mpm /gem
mpm /brew
mpm /apt
mpm /cask
mpm /npm