Add --global option to protos install

[ci skip]