This is a community plugin and is thus not built-in to proto. In order to use it, first either add it to your global or project-based .prototools
by running:
proto plugin add ninja "source:https://raw.githubusercontent.com/Phault/proto-toml-plugins/main/ninja/plugin.toml" --global
proto install ninja
proto plugin add ninja "source:https://raw.githubusercontent.com/Phault/proto-toml-plugins/main/ninja/plugin.toml"
proto pin ninja latest --resolve