How to install Magento Cloud CLI?
-
13-04-2021 - |
문제
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?
해결책
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
제휴하지 않습니다 magento.stackexchange