| Crates.io | pm22 |
| lib.rs | pm22 |
| version | 0.3.0 |
| created_at | 2025-06-22 19:23:27.515313+00 |
| updated_at | 2025-06-23 04:16:33.657061+00 |
| description | A lightweight CLI tool that connects to a remote server over SSH and executes PM2 process manager commands. |
| homepage | |
| repository | https://github.com/tsirysndr/pm22 |
| max_upload_size | |
| id | 1721865 |
| size | 128,333 |
pm22 is a lightweight CLI tool that connects to a remote server over SSH and executes PM2 process manager commands.
Perfect for remotely managing Node.js applications from your terminal.

start, stop, restart, delete, logs, etc.)--verboseYou can install pm22 globally using cargo:
cargo install pm22
pm22 [OPTIONS] <host> <cmd> [args]...
| Name | Description |
|---|---|
<host> |
Host to connect to, including username (e.g., user@your.server.com) |
<cmd> |
PM2 command to execute (start, restart, status, logs, etc.) |
[args]... |
Additional arguments passed to the PM2 command |
| Flag | Description | Default |
|---|---|---|
-p, --port <port> |
SSH port to connect to | 22 |
-k, --key <path> |
Path to your SSH private key | ~/.ssh/id_rsa |
-v, --verbose |
Enable verbose output for debugging/logging | |
-h, --help |
Show help information | |
-V, --version |
Show version information |
MIT License © 2025 Tsiry Sandratraina