mikrus VPS CLI written in Rust
- Rust toolchain (1.85+) — install via rustup:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
git clone https://github.com/pwittchen/mikrus-cli.git
cd mikrus-cli
cargo install --path .cargo install --git https://github.com/pwittchen/mikrus-cli.gitThe binary will be installed to ~/.cargo/bin/mikrus.
cargo uninstall mikrus-cliSet your credentials via environment variables or pass them as flags:
export MIKRUS_SRV=srv12345
export MIKRUS_KEY=your-api-keyOr use --srv and --key flags with each command.
mikrus [--srv <SRV>] [--key <KEY>] <COMMAND>| Command | Description |
|---|---|
info |
Show server information |
servers |
List all user servers |
restart |
Restart the server |
logs [ID] |
Show log entries (optional: specific log ID) |
amfetamina |
Performance boost |
db |
Show database credentials |
exec <CMD> |
Execute a command on the server |
stats [--truncate <WIDTH>] |
Show disk/memory/uptime statistics (truncate long lines at WIDTH, adding "..."; 0 = no truncation) |
ports |
Show TCP/UDP ports |
cloud |
Show cloud services & stats |
domain <PORT> <DOMAIN> |
Assign domain to server |
config |
Show current configuration (MIKRUS_SRV and MIKRUS_KEY) |
cargo build --verbose
cargo test --verbose
cargo run