Bash showing error while installing CLI

Hi,
I tried to install CLI with curl way. but it’s showing error.
image
Can anyone please help? not sure what to do.
I searched on google but no relevant results coming.

0

Comments

2 comments
Date Votes
  • Anyone, please help me to install CLI? i’m not sure what’s the problem.

    0
  • I’m not sure the exact reason why that doesn’t work, it appears to be something to do with how that instance of PHP is built. But this should be a reasonable alternative:

    php -r "copy('https://platform.sh/cli/installer', 'cli-installer.php');"
    php cli-installer.php
    php -r "unlink('cli-installer.php');"
    
    0

Please sign in to leave a comment.

 

Didn't find what you were looking for?

New post