https://magento.stackexchange.com/questions/325555
Вопрос
I have problem with install the Magento 2 CLI on my local, do you know what can I do next? thanks
Решение
You need add sudo before php not before the curl
sudo
php
curl