Failing to add cordova plugin from Github

I tried this in both the package.json running a full ionic archive as well as the stripped back script step just running cordova plugin add and got the same error for both

"cordova-plugin-file-transfer": "git+https://github.com/apache/cordova-plugin-file-transfer",

cordova plugin add git+https://github.com/apache/cordova-plugin-file-transfer --nofetch