<commit_before><h1>Using the ddev command line interface (CLI)</h1>

Type `ddev` or `ddev -h`in a terminal windows to see the available ddev commands. There are commands to configure a project, start, remove, describe, etc. Each command also has help. For example, `ddev describe -h`.


## Quickstart Guides

These are quickstart instructions for WordPress, Drupal 6, Drupal 7, Drupal 8, TYPO3, and Backdrop.

**Prerequisites:** Before you start, follow the [installation instructions](../index.md#installation). Make sure to [check the system requirements](../index.md#system-requirements), you will need *docker* and *docker-compose* to use ddev.

### WordPress Quickstart

**Git Clone Example**

To get started using ddev with an existing WordPress project, clone the project's repository and checkout its directory:

```
git clone https://github.com/example-user/example-wordpress-site
cd example-wordpress-site
```<commit_msg>Add quickstart for PHP project [skip ci][ci skip] (#1573)<commit_after><h1>Using the ddev command line interface (CLI)</h1>

Type `ddev` or `ddev -h`in a terminal windows to see the available ddev commands. There are commands to configure a project, start, remove, describe, etc. Each command also has help. For example, `ddev describe -h`.


## Quickstart Guides

These are quickstart instructions for generic PHP, WordPress, Drupal 6, Drupal 7, Drupal 8, TYPO3, and Backdrop.

**Prerequisites:** Before you start, follow the [installation instructions](../index.md#installation). Make sure to [check the system requirements](../index.md#system-requirements), you will need *docker* and *docker-compose* to use ddev.

### PHP Project Quickstart

DDEV works happily with most any PHP or static HTML project, although it has special additional support for several CMSs. But you don't need special support if you already know how to configure your project.

1. Create a directory (`mkdir my-new-project`)
2. cd into the directory
3. `ddev config`
4. Get initial code:
    * Clone your project into the current directory
    * Or build it with `ddev composer create <package_name>`
5. `ddev start`
6. Configure any database settings; host='db', user='db', password='db', database='db'
7. If needed, import a database with `ddev import-db`
7. Visit the project and continue on.

### WordPress Quickstart

**Git Clone Example**

To get started using ddev with an existing WordPress project, clone the project's repository and checkout its directory:

```
git clone https://github.com/example-user/example-wordpress-site
cd example-wordpress-site
```
{'fraction_non_alphanumeric': 0.09747572815533981, 'fraction_numerical': 0.009320388349514564, 'mean_word_length': 4.801801801801802, 'pattern_counts': {'":': 0, '<': 8, '<?xml version=': 0, '>': 8, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1645020', 'n_tokens_mistral': 729, 'n_tokens_neox': 697, 'n_words': 331}