Skip to main content

Bash showing error while installing CLI

Comments

2 comments

  • Pranab Dey

    Anyone, please help me to install CLI? i’m not sure what’s the problem.

    0
  • Patrick Dawkins

    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.