Question

I'm running a Magento Commerce Cloud in my new machine and I need to install the Magento Cloud CLI.

How could I do it?

Was it helpful?

Solution

1 - You can install it using this command below.

curl -sS https://accounts.magento.cloud/cli/installer | php

2 - Then add the Magento Cloud CLI to the bash profile.

export PATH=$PATH:$HOME/.magento-cloud/bin

3 - And reload the bash.

. ~/.bash_profile

4- To check if it worked run:

magento-cloud

Reference: Magento Cloud CLI reference

Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange
scroll top