Loading...
Loading...
Command-line interface for PM2 - A stateless CLI for Node.js process management via the PM2 CLI. List, start, stop, restart processes, view logs, and manage system configuration.
npx skill4agent add hkuds/cli-anything cli-anything-pm2pip install -e .npm install -g pm2# Show help
cli-anything-pm2 --help
# Start interactive REPL mode
cli-anything-pm2
# Run with JSON output (for agent consumption)
cli-anything-pm2 --json process list
cli-anything-pm2 --json system versioncli-anything-pm2
# Enter commands interactively with tab-completion and history| Command | Description |
|---|---|
| List all PM2 processes |
| Get detailed info for a process |
| Get metrics for all processes |
| Command | Description |
|---|---|
| Start a new process |
| Stop a process |
| Restart a process |
| Delete a process |
| Command | Description |
|---|---|
| View recent logs |
| Flush logs |
| Command | Description |
|---|---|
| Save current process list |
| Generate startup script |
| Get PM2 version |
--json# Human output
cli-anything-pm2 process list
# JSON output for agents
cli-anything-pm2 --json process list--json