> ## Documentation Index
> Fetch the complete documentation index at: https://developer.upsun.com/llms.txt
> Use this file to discover all available pages before exploring further.

# CLI version 1.2 released

> Announcing Platform.sh CLI version 1.2.2 with new features, colorful interface, safer commands, and more. Install or upgrade using Composer now!

> [!TIP]
>
> This post was originally published on the Platform.sh blog and reflects information from the time of publication.

We are proud to announce the latest release of the [Platform.sh CLI](https://github.com/platformsh/platformsh-cli).

To install or upgrade, you can use Composer:

```bash theme={null}
composer global require 'platformsh/cli:1.*'

```

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

* Toolstack-based detection and building: this means that both [Symfony](https://symfony.com/) and [Drupal](https://www.drupal.org/) projects can now be built locally in the same way they are built on[Platform.sh](https://upsun.com/).
* A much more colorful interface: the commands in `platform list ` are color-coded according to whether they run locally or require a connection.
* There is a new `platform url ` command, which gets the public URL to your Platform.sh environment and opens it in your browser.
* All of the more risky commands now have confirm steps to protect against accidents.
* The frequently used `platform checkout ` command has been improved, for a faster experience.
* Drupal users will benefit from a new `platform drush-aliases ` command, which lets you see your project’s Drush aliases. It also lets you customize the alias group name - if you type:\
  `platform drush-aliases -g myproject `\
  you will then have aliases such as `@myproject.master ` instead of `@l0ngpr0j3ct1d.master `.

The release also includes a host of bug fixes, performance and stability improvements.

## 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](https://symfony.com/doc/current/components/console/introduction.html), a flexible and widely used library for building PHP command-line applications. Naturally, it also relies on [Git](https://git-scm.com/).

For more information (and to file issues) see the [public GitHub repository](https://github.com/platformsh/platformsh-cli).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.