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

# orphelix delete

> Remove Orphelix from pm2

# orphelix delete

Remove Orphelix application from pm2 process manager. This completely removes the process from pm2's list.

## Usage

```bash theme={null}
orphelix delete [options]
```

## Options

| Option | Alias | Description | Default |
| - | - | - | - |
| `--name` | `-n` | Instance name | `orphelix` |

## Examples

### Delete Default Instance

```bash theme={null}
orphelix delete
```

Removes:

* `orphelix` (main app)
* `orphelix-notifications` (worker)

### Delete Named Instance

```bash theme={null}
orphelix delete --name prod
```

## Warning

> [!WARNING]
>
> This command removes the process from pm2 but does **not** delete:
>
> * Database file (`orphelix.db`)
> * Application files
> * Backups
>
> To completely uninstall, see [Uninstallation](https://orphelix.mintlify.site/cli/installation.md#uninstallation).

## What Happens

1. Stops the running process
2. Removes from pm2 process list
3. Cleans up pm2 logs for this process
4. Removes notification worker

## Output

```bash theme={null}
$ orphelix delete

🗑️  Removing Orphelix from pm2...
[PM2] Applying action deleteProcessId on app [orphelix](ids: [ 0 ])
[PM2] [orphelix](0) ✓
✅ Orphelix removed from pm2
```

## Restart After Delete

To start again, simply run:

```bash theme={null}
orphelix start
```

This creates a fresh pm2 process (database and settings persist).

## Related Commands

* [stop](https://orphelix.mintlify.site/cli/commands/stop.md) - Stop without removing
* [start](https://orphelix.mintlify.site/cli/commands/start.md) - Start new instance
* [list](https://orphelix.mintlify.site/cli/commands/list.md) - View all instances


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