layout | group | subgroup | title | menu_title | menu_order | menu_node | level3_menu_node | level3_subgroup | version | github_link |
---|---|---|---|---|---|---|---|---|---|---|
default |
cloud |
08_setup |
Step 3, Install the CLI |
Step 3, Install the CLI |
12 |
level3child |
workspace |
2.0 |
cloud/before/before-workspace-cli.md |
The Magento Enterprise Cloud Edition command-line interface (CLI) helps you manage your projects on Magento Enterprise Cloud Edition.
To install the Magento Enterprise Cloud Edition CLI:
-
Log in to your local development machine, or switch to, the [Magento file system owner]({{ page.baseurl }}cloud/before/before-workspace-file-sys-owner.html).
-
Change to a directory to which the Magento file system owner has write access (for example, the web server docroot).
-
Enter the following command:
curl -sS https://accounts.magento.cloud/cli/installer | php
-
After the CLI downloads, an operating system-specific command displays.
For example, on Ubuntu and CentOS, the command is similar to:
source /home/magento_user/.bashrc
For more information about the user shell profile, see .bash_profile vs .bashrc{:target="_blank"}
-
Enter the operating system-specific command to add the CLI to your system
$PATH
. -
Verify the
magento-cloud
command is in your path by entering the following command:magento-cloud list
[Enable Secure Shell (SSH)]({{ page.baseurl }}cloud/before/before-workspace-ssh.html)