I would rather use a global ``composer`` command in the doc and let the Composer doc handle the explanation of the installation (your command is less secure than the command used in the composer doc for instance, as it does not use SSL to download the script)