# Enter application CLI

## `yarn cli` or `npm run cli`

Opens a new instance of Bash with aliases for PHP, Composer and Magento used in Create Magento App project.

<figure><img src="https://1705439005-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MOVnS5lKxiIvOL9no4d%2Fuploads%2FIZCEltECx88XhOsjUAoV%2FScreenshot%202026-03-19%20at%2015.37.42.png?alt=media&#x26;token=1e29e837-565f-42ae-bf8d-4fdd7ded92bf" alt=""><figcaption></figcaption></figure>

## **Usage example**

First, run the script:

```bash
npm run cli # for NPM
yarn cli # for Yarn
```

Now, in the opened terminal and execute commands:

```bash
php -v
> PHP 7.4.30 (cli) ...

composer --version
> Composer version 1.10.19

# Can be used with alias
c --version
> Composer version 1.10.19

magento setup:upgrade
> ... magento upgrade output

# Can be used with alias
m se:up
> ...magento upgrade output
```
