The Platform.sh CLI is the official command-line interface for Platform.sh. Use this tool to interact with your Platform.sh projects, and to build them locally for development purposes.
This repository hosts the source code and releases of the new CLI.
This product includes PHP software, freely available from the PHP website
To install the CLI, use either Homebrew (on Linux, macOS, or the Windows Subsystem for Linux) or Scoop (on Windows):
brew install platformsh/tap/platformsh-cli
scoop bucket add platformsh https://github.com/platformsh/homebrew-tap.git
scoop install platform
For manual installation, you can also download the latest binaries.
Upgrade using the same tool:
brew upgrade platformsh-cli
scoop update platform
The New Platform.sh CLI is built with backwards compatibility in mind. This is why we've embedded PHP, so that all Legacy PHP CLI commands can be executed in the exact same way, making sure that nothing breaks when you switch to it.
This binary redistributes PHP in a binary form, which comes with the PHP License.