List ddev projects

User
List ddev project
Assistant
To list all **DDEV projects** you currently have, you can use these commands depending on your context:

### 1. From anywhere on your system

ddev list

This will show all projects that DDEV knows about (with their name, status, and project directory).

### 2. From inside a project folder
If you are inside a project folder, you can run:

ddev describe

This shows details of just that project (status, URLs, services, etc.).

👉 Most common way:

ddev list

✅ Output example:

NAME        TYPE     LOCATION              URL                     STATUS
my-laravel  laravel  ~/Sites/my-laravel    https://my-laravel.ddev.site running
wordpress   wordpress ~/Sites/wordpress    https://wordpress.ddev.site stopped

Do you want me to also show you how to **list only running DDEV projects**?

User
remove paused ddev projects
Assistant
In DDEV, **paused projects** show up in `ddev list` but they’re not running. If you don’t need them anymore, you can remove them safely.

Here’s how:

### 1. Remove a single paused project
Go to the project folder (or pass the project name):

ddev stop --remove-data <projectname>

– `–remove-data` removes the database and files from `.ddev/.imported-db` etc.
– If you just want to remove it from the list without deleting files, run:

ddev delete <projectname>

### 2. Remove all stopped/paused projects at once
You can loop through them:

ddev list --json | jq -r '.raw[] | select(.status=="stopped") | .name' | xargs -n 1 ddev delete -Oy

– `jq` filters only stopped projects.
– `-O` = remove project from list.
– `-y` = auto-confirm.

### 3. Quick manual cleanup
If you don’t want scripting:
1. Run `ddev list`
2. Note the **paused/stopped project names**
3. Run for each:

ddev delete -Oy <projectname>

👉 Do you want me to give you a **one-liner to remove *all paused projects*** without touching your running ones?

Leave a Comment

Your email address will not be published. Required fields are marked *