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

GitHub Stars GitHub Forks License Buy Me A Coffee

TUI – Proxmox VM/CT Management Tool


TUI overview with VM/CT status, actions, and JSON export.


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
  • qm and/or pct CLI tools available on the host
  • Optional helpers: remote-viewer for SPICE, jq for utilities, shellcheck for 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

Proxmox VE Debian Ubuntu Bash systemd SPICE virt-viewer jq ShellCheck


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

  • jq recommended for --json
  • remote-viewer (package: virt-viewer) optional for VM consoles
  • Usually run as root on 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 fallback qm monitor
  • Snapshot helpers: list, create, rollback, delete snapshots
  • SPICE tools: connection details, .vv file 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 .vv files.
  • If a VM lacks a SPICE device, the helper can add one; restart the VM afterwards.

Troubleshooting

  • No entries: run as root with qm/pct available
  • Console unavailable: qm terminal requires serial console; fallback qm monitor
  • Missing SPICE port: configure or enable via helper
  • JSON issues: output works standalone, jq optional to consume it

Contributing

Pull requests and issues welcome. Run shellcheck locally before committing.


License

MIT

Languages
Shell 48.9%
Python 46.8%
Astro 4.3%