• Overview
    • Django
    • Next.js
    • Drupal
    • WordPress
    • Symfony
    • Magento
    • See all frameworks
    • Observability
    • Auto-scaling
    • Marketing Teams
    • Retail
    • Higher Education
  • Pricing
  • Featured articles
    • Switching to Platform.sh can help IT/DevOps organizations drive 219% ROI
    • Organizations, the ultimate way to manage your users and projects
  • Support
  • Docs
  • Contact
  • Login
  • Free Trial

CLI version 1.7 released

January 20, 2015
Patrick Dawkins
Patrick Dawkins
Product Engineer

We are proud to announce the latest release of the Platform.sh CLI.

To install or upgrade, you can use Composer:

composer global require 'platformsh/cli:1.*'

New features in the latest release (version 1.7.1) include:

  • A new  platform httpaccess  command to control HTTP access for an environment.
  • The  platform build  command now saves archives (compressed copies) of each local build, which are re-used when possible. This saves build time, particularly if you are switching between branches locally. There is a  --no-archive  option to skip this behavior.
  • Many commands now take the environment as an argument, rather than an option, which saves typing:
    • platform environment:activate [environment]
    • platform backup [environment]
    • platform environment:deactivate [environment]
    • platform environment:delete [environment]
    • platform branch [name] [parent]
    • platform merge [environment]
  • The following commands now work with multiple environments:
    • platform environment:activate [env1] [env2] [env3] [...]
    • platform environment:deactivate [env1] [env2] [env3] [...]
    • platform environment:delete [env1] [env2] [env3] [...]
  • You can now deactivate all merged branches with:  platform environment:deactivate --merged [base]
  • You can delete all inactive environments with:  platform environment:delete --inactive

About the Platform.sh CLI

The Platform.sh CLI (command-line interface) is an easy and fast tool which helps you manage your Platform.sh projects from the command line. You can use it to administer projects and environments, and to help you build projects locally for development.

It is based on the Symfony Console Component, a flexible and widely used library for building PHP command-line applications. Naturally, it also relies on Git.

For more information (and to file issues) see the public GitHub repository.

Get the latest Platform.sh news and resources

Related Content

PHP 8.2 lays new ground on Platform.sh

PHP 8.2 lays new ground on Platform.sh

AboutSecurity and complianceTrust CenterBoard and investorsCareersPressContact us
Leader Winter 2023
System StatusPrivacyTerms of ServiceImpressumWCAG ComplianceManage your cookie preferencesReport a security issue
© 2023 Platform.sh. All rights reserved.
Supported by Horizon 2020's SME Instrument - European Commission 🇪🇺