Installation Script for Owncloud 9

Anyone have a auto installation script for owncloud 9? Cant seem to get it to install or either im follow a guide im using wrong

There is a installer script -> (right-click -> save...). Then transfer this file to your webspace and open setup-owncloud.php in your browser.

the only problem is im hosting it locally

can be called by external scripts