--> -->

Install the CLI

With all of the requirements met, install the CLI to start developing with Platform.sh.

  1. Install the CLI

    In your terminal run the following command:

    • Installing on OSX or Linux

      curl -sS https://platform.sh/cli/installer | php
    • Installing on Windows

      curl https://platform.sh/cli/installer -o cli-installer.php
      php cli-installer.php
  2. Authenticate and Verify

    Once the installation has completed, you can run the CLI in your terminal with the command


    You should now be able to see a list of your Platform.sh projects, including the template you made in this guide. You can copy its project ID hash, and then download a local copy of the repository with the command

    platform get <project ID>

    With a local copy, you can create branches, commit to them, and push your changes to Platform.sh right away!

    git push platform master

    Take a minute to explore some of the commands available with the CLI by using the command platform list.

That’s it! Now that you have the management console set up and the CLI installed on your computer, you’re well on your way to exploring all of the ways that Platform.sh can improve your development workflow.