Use cake's plugin-installer.