Skip to content

Latest commit

 

History

History
39 lines (29 loc) · 1.52 KB

before-workspace-cli.md

File metadata and controls

39 lines (29 loc) · 1.52 KB
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

Install the command-line interface (CLI) {#cloud-ssh-cli-cli-install}

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:

  1. 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).

  2. Change to a directory to which the Magento file system owner has write access (for example, the web server docroot).

  3. Enter the following command:

    curl -sS https://accounts.magento.cloud/cli/installer | php
    
  4. 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"}

  5. Enter the operating system-specific command to add the CLI to your system $PATH.

  6. Verify the magento-cloud command is in your path by entering the following command:

    magento-cloud list
    

Next step

[Enable Secure Shell (SSH)]({{ page.baseurl }}cloud/before/before-workspace-ssh.html)