proxmox-manager
Proxmox VM/CT Manager – Version 2.7.2 (updated 2025-09-07)
Terminal tool to manage Proxmox VMs and containers from the host shell
Languages: 🇬🇧 English (this file) • 🇩🇪 Deutsch
TUI overview with VM/CT status, actions, and JSON export.
Quick Links
- Main script:
proxmox-manager.sh - Optional helper:
install_dependencies.sh - Project overview: Quickstart · Requirements · Introduction · Technologies & Dependencies · Status · Dependencies · Features · CLI Options · Uninstall · Troubleshooting
- Audit artefacts:
.audit/ - Issues & feedback: Create issue
What it is
Minimal TUI helper to list, control and inspect Proxmox VMs/CTs. JSON mode for automation.
Installation (with Git, updateable)
sudo apt update && sudo apt install -y git
cd /root
git clone --depth=1 https://github.com/TimInTech/proxmox-manager.git
cd proxmox-manager
chmod +x proxmox-manager.sh install_dependencies.sh
./install_dependencies.sh # optional (jq, remote-viewer, shellcheck)
./proxmox-manager.sh # interactive
./proxmox-manager.sh --json # machine-readable
Requirements
- Proxmox VE 7.4, 8.x, or 9.x host
- Run directly on the Proxmox node as
root qmand/orpctCLI tools available on the host- Optional helpers:
remote-viewerfor SPICE,jqfor utilities,shellcheckfor linting
SSH clone (if you use GitHub SSH keys)
git clone --depth=1 git@github.com:TimInTech/proxmox-manager.git
Introduction
This repository contains a lightweight terminal UI script that lists and manages both VMs and LXC containers on a Proxmox host. It provides status-aware actions, console access, snapshot helpers, and SPICE integration without depending on external services.
Note: If Git asks for username/password you probably used a wrong or private URL. Use the public one above.
The script targets interactive use on the Proxmox host itself.
Update (Git variant)
cd /root/proxmox-manager
git pull
Technologies & Dependencies
Status
Stable for day-to-day VM and LXC management on the host shell.
Quickstart
Installation
apt update && apt install -y git
Installation (without Git)
cd /root
mkdir -p proxmox-manager && cd proxmox-manager
curl -fsSL -o proxmox-manager.sh https://raw.githubusercontent.com/TimInTech/proxmox-manager/main/proxmox-manager.sh
curl -fsSL -o install_dependencies.sh https://raw.githubusercontent.com/TimInTech/proxmox-manager/main/install_dependencies.sh
chmod +x proxmox-manager.sh install_dependencies.sh
./install_dependencies.sh # optional: remote-viewer, jq, shellcheck
Run
./proxmox-manager.sh
Optional system-wide install
cp proxmox-manager.sh /usr/local/sbin/proxmox-manager
chmod +x /usr/local/sbin/proxmox-manager
proxmox-manager
Update (no-Git variant)
cd /root/proxmox-manager
curl -fsSL -o proxmox-manager.sh https://raw.githubusercontent.com/TimInTech/proxmox-manager/main/proxmox-manager.sh
curl -fsSL -o install_dependencies.sh https://raw.githubusercontent.com/TimInTech/proxmox-manager/main/install_dependencies.sh
chmod +x proxmox-manager.sh install_dependencies.sh
Dependencies
jqrecommended for--jsonremote-viewer(package:virt-viewer) optional for VM consoles- Usually run as
rooton Proxmox hosts
Features
- Unified VM and CT overview with status symbols: 🟢 running · 🔴 stopped · 🟠 paused · 🟡 unknown
- Actions: start, stop, restart, and status for each ID
- Console helpers:
pct enter,qm terminal, or fallbackqm monitor - Snapshot helpers: list, create, rollback, delete snapshots
- SPICE tools: connection details,
.vvfile generation, optional SPICE enablement - Built-in root check, locale normalization, and resilient ID parsing
CLI Options
--list– print plain table of all VMs/CTs--json– output JSON array (id,type,status,symbol,name)--no-clear– disable terminal clearing--once– run only once and exit--help– show usage and exit
Uninstall
Remove program directory:
rm -rf /root/proxmox-manager
Optionally remove optional dependencies again:
sudo apt purge -y jq virt-viewer shellcheck
sudo apt autoremove -y
SPICE Notes
remote-viewer(virt-viewer) offers the best experience for.vvfiles.- If a VM lacks a SPICE device, the helper can add one; restart the VM afterwards.
Troubleshooting
- No entries: run as
rootwithqm/pctavailable - Console unavailable:
qm terminalrequires serial console; fallbackqm monitor - Missing SPICE port: configure or enable via helper
- JSON issues: output works standalone,
jqoptional to consume it
Contributing
Pull requests and issues welcome. Run shellcheck locally before committing.
